#CF9DEE#CF9DEE

#CF9DEE is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.1% C 0.124 H 311.9°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CF9DEE
RGBrgb(207, 157, 238)
HSLhsl(277, 70%, 77%)
HSVhsv(277, 34%, 93%)
CMYKcmyk(13%, 34%, 0%, 6.7%)
CIE-LABlab(71.93, 33.11, -33.61)
CIE-LCHlch(71.93, 47.18, 314.57°)
OKLaboklab(77.12% 0.0829 -0.0924)
OKLCHoklch(77.12% 0.124 311.9)
XYZxyz(53.2191, 43.5532, 86.4754)
Luminance0.4355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9DEE #BCEE9D
analogous
#A69DEE #CF9DEE #EE9DE5
triadic
#CF9DEE #EECF9D #9DEECF
tetradic
#CF9DEE #EEA69D #BCEE9D #9DE5EE
square
#CF9DEE #EEA69D #BCEE9D #9DE5EE
split-complementary
#CF9DEE #E5EE9D #9DEEA6
monochromatic
#9C35DC #B569E5 #CF9DEE #E9D1F7 #F2E5FA

Accessibility & contrast

On white

2.16
#CF9DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CF9DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9DEE
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9DEE#FFFFFF#000000##000000
##CF9DEE1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF1
Deuteranopia (green-blind)
#9AB1EC
Tritanopia (blue-blind)
#CCA8BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9dee;
/* rgb */ color: rgb(207, 157, 238);
/* oklch */ color: oklch(77.1% 0.124 311.9);
Tailwind
colors: {
  custom: {
    50: '#debaf3',
    500: '#cf9dee',
    950: '#000000',
  },
}
SCSS
$custom: #cf9dee;
$custom-light: #debaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9dee",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 238
  },
  "hsl": {
    "h": 277.037,
    "s": 70.435,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77117,
    "c": 0.12415,
    "h": 311.9
  },
  "luminance": 0.43552
}

Semantic roles & 50–950 ramp

primary
#CF9DEE
secondary
#E3F2D9
accent
#D2135C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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