#CF9EE4#CF9EE4

#CF9EE4 is a light, moderate purple. Relative luminance 0.433; OKLCH L 76.9% C 0.111 H 315.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CF9EE4
RGBrgb(207, 158, 228)
HSLhsl(282, 56%, 76%)
HSVhsv(282, 31%, 89%)
CMYKcmyk(9.2%, 30.7%, 0%, 10.6%)
CIE-LABlab(71.77, 30.50, -28.39)
CIE-LCHlch(71.77, 41.67, 317.06°)
OKLaboklab(76.87% 0.0789 -0.0776)
OKLCHoklch(76.87% 0.111 315.5)
XYZxyz(51.9604, 43.3215, 79.0084)
Luminance0.4332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EE4 #B3E49E
analogous
#AC9EE4 #CF9EE4 #E49ED6
triadic
#CF9EE4 #E4CF9E #9EE4CF
tetradic
#CF9EE4 #E4AC9E #B3E49E #9ED6E4
square
#CF9EE4 #E4AC9E #B3E49E #9ED6E4
split-complementary
#CF9EE4 #D6E49E #9EE4AC
monochromatic
#A03EC9 #B76ED7 #CF9EE4 #E7CEF1 #F3E7F8

Accessibility & contrast

On white

2.17
#CF9EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CF9EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EE4
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EE4#FFFFFF#000000##000000
##CF9EE41.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ADE7
Deuteranopia (green-blind)
#9FB1E2
Tritanopia (blue-blind)
#CEA6B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9ee4;
/* rgb */ color: rgb(207, 158, 228);
/* oklch */ color: oklch(76.9% 0.111 315.5);
Tailwind
colors: {
  custom: {
    50: '#debbec',
    500: '#cf9ee4',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ee4;
$custom-light: #debbec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ee4",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 228
  },
  "hsl": {
    "h": 282,
    "s": 56.452,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76871,
    "c": 0.11067,
    "h": 315.5
  },
  "luminance": 0.43321
}

Semantic roles & 50–950 ramp

primary
#CF9EE4
secondary
#E1F0DB
accent
#C42152
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CF9EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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