What is hex #CF98FF color?

 
The hex code #CF98FF is closest to the named color Bright Lilac (#D891EF).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 81% red, 60% green and 100% blue, resulting in rgb(207, 152, 255) and hsl(272, 100%, 80%).
For print media and manufacturing layout, the CMYK equivalent is (19%, 40%, 0%, 0%).
In the HSV/HSB scale, #CF98FF features a hue of 272°, 40% saturation, and 100% brightness.

Hex #CF98FF Color Codes & Conversions

Closest Named Color
Bright Lilac (#D891EF)
Hex Code #CF98FF
Hex8 (RGBA Hex) #CF98FFFF
RGB (CSS) rgb(207, 152, 255)
RGBA (CSS) rgba(207, 152, 255, 1)
HSL (CSS) hsl(272, 100%, 80%)
HSLA (CSS) hsla(272, 100%, 80%, 1)
HSV / HSB (272°, 40%, 100%)
CMYK Values (19%, 40%, 0%, 0%)
OKLCH (Modern CSS) oklch(77.0% 0.153 307.8)
CIE-LAB (D65) 71.52, 39.45, -43.50
CIE XYZ 55.01, 42.94, 99.98
Decimal / Binary 13605119
11001111 10011000 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC99FF
Inverse Color
#306700
Complementary Color
#C8FF98
Closest Pantone®
Pantone 529 C
Closest RAL
RAL 3015 [Light pink]

#CF98FF Grayscale Equivalents

Average
#CDCDCD
Lightness (Desaturation)
#CCCCCC
Weighted (BT601)
#B4B4B4
Luma (BT709)
#ABABAB

WCAG 2.1 Color Contrast & Accessibility

Check how #CF98FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #CF98FF

Sample preview of readable typography on top of #CF98FF.

Contrast Ratio: 2.19:1
AA Fail AAA Fail

Black Text on #CF98FF

Sample preview of readable typography on top of #CF98FF.

Contrast Ratio: 9.59:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CF98FF

Preview #CF98FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #CF98FF;
Typography Color Preview
color: #CF98FF;
Border & Shadow Preview
border: 2px solid #CF98FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #CF98FF;
  --color-primary-rgb: 207, 152, 255;
  --color-complementary: #C8FF98;
}
.btn-accent {
  background-color: #CF98FF;
  color: #000000;
}

Hex #CF98FF Color Palettes

Complementary Palette

The complementary color of #CF98FF is #C8FF98. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #CF98FF pairs with #9B98FF and #FF98FB, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #CF98FF pairs with #98FF9B and #FBFF98, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #CF98FF uses #98FFCF and #FFCF98, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CF98FF combines #FFCF98, #C8FF98 and #98C8FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CF98FF pairs with #FF9B98, #C8FF98 and #98FBFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CF98FF

Tints

Tints are created by mixing #CF98FF with white, producing lighter variations.

Tones

Tones are created by mixing #CF98FF with gray, softening saturation.

Shades

Shades result from mixing #CF98FF with black, creating deeper variations.

Hex #CF98FF in Programming & CSS Frameworks

Copy the exact syntax for #CF98FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #CF98FF
Tailwind CSS bg-[#CF98FF] text-[#CF98FF]
Java (AWT) new Color(207,152,255);
Python Color("#CF98FF")
.NET (C#) Color.FromArgb(255, 207,152,255);
Swift / iOS UIColor(red: 0.81, green: 0.6, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(207, 152, 255)