#CF99EF#CF99EF

#CF99EF is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.5% C 0.132 H 312.3°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CF99EF
RGBrgb(207, 153, 239)
HSLhsl(278, 73%, 77%)
HSVhsv(278, 36%, 94%)
CMYKcmyk(13.4%, 36%, 0%, 6.3%)
CIE-LABlab(71.06, 35.49, -35.50)
CIE-LCHlch(71.06, 50.20, 314.99°)
OKLaboklab(76.47% 0.0889 -0.0978)
OKLCHoklch(76.47% 0.132 312.3)
XYZxyz(52.7007, 42.2807, 87.0294)
Luminance0.4228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF99EF #B9EF99
analogous
#A499EF #CF99EF #EF99E4
triadic
#CF99EF #EFCF99 #99EFCF
tetradic
#CF99EF #EFA499 #B9EF99 #99E4EF
square
#CF99EF #EFA499 #B9EF99 #99E4EF
split-complementary
#CF99EF #E4EF99 #99EFA4
monochromatic
#9D2FDE #B664E7 #CF99EF #E8CEF7 #F3E5FB

Accessibility & contrast

On white

2.22
#CF99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CF99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF99EF
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF99EF#FFFFFF#000000##000000
##CF99EF1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#CCA5B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf99ef;
/* rgb */ color: rgb(207, 153, 239);
/* oklch */ color: oklch(76.5% 0.132 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfb7f4',
    500: '#cf99ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf99ef;
$custom-light: #dfb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf99ef",
  "rgb": {
    "r": 207,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 277.674,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76474,
    "c": 0.13213,
    "h": 312.3
  },
  "luminance": 0.4228
}

Semantic roles & 50–950 ramp

primary
#CF99EF
secondary
#E2F3D8
accent
#D5115A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF99EF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CF99EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva