#CF99EB#CF99EB

#CF99EB is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.3% C 0.127 H 313.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#CF99EB
RGBrgb(207, 153, 235)
HSLhsl(280, 67%, 76%)
HSVhsv(280, 35%, 92%)
CMYKcmyk(11.9%, 34.9%, 0%, 7.8%)
CIE-LABlab(70.90, 34.66, -33.56)
CIE-LCHlch(70.90, 48.25, 315.92°)
OKLaboklab(76.3% 0.0879 -0.0922)
OKLCHoklch(76.3% 0.127 313.6)
XYZxyz(52.1163, 42.0470, 83.9516)
Luminance0.4205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF99EB #B5EB99
analogous
#A699EB #CF99EB #EB99DE
triadic
#CF99EB #EBCF99 #99EBCF
tetradic
#CF99EB #EBA699 #B5EB99 #99DEEB
square
#CF99EB #EBA699 #B5EB99 #99DEEB
split-complementary
#CF99EB #DEEB99 #99EBA6
monochromatic
#9F33D7 #B766E1 #CF99EB #E7CCF5 #F3E5FA

Accessibility & contrast

On white

2.23
#CF99EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CF99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF99EB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF99EB#FFFFFF#000000##000000
##CF99EB1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEE
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#CDA4B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf99eb;
/* rgb */ color: rgb(207, 153, 235);
/* oklch */ color: oklch(76.3% 0.127 313.6);
Tailwind
colors: {
  custom: {
    50: '#deb7f1',
    500: '#cf99eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf99eb;
$custom-light: #deb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf99eb",
  "rgb": {
    "r": 207,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 279.512,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76299,
    "c": 0.12744,
    "h": 313.6
  },
  "luminance": 0.42046
}

Semantic roles & 50–950 ramp

primary
#CF99EB
secondary
#E2F1DA
accent
#CF1655
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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