#CF9EEE#CF9EEE

#CF9EEE is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.3% C 0.122 H 311.7°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CF9EEE
RGBrgb(207, 158, 238)
HSLhsl(277, 70%, 78%)
HSVhsv(277, 34%, 93%)
CMYKcmyk(13%, 33.6%, 0%, 6.7%)
CIE-LABlab(72.16, 32.56, -33.26)
CIE-LCHlch(72.16, 46.55, 314.39°)
OKLaboklab(77.29% 0.0815 -0.0914)
OKLCHoklch(77.29% 0.122 311.7)
XYZxyz(53.3890, 43.8929, 86.5320)
Luminance0.4389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EEE #BDEE9E
analogous
#A79EEE #CF9EEE #EE9EE5
triadic
#CF9EEE #EECF9E #9EEECF
tetradic
#CF9EEE #EEA79E #BDEE9E #9EE5EE
square
#CF9EEE #EEA79E #BDEE9E #9EE5EE
split-complementary
#CF9EEE #E5EE9E #9EEEA7
monochromatic
#9B36DC #B56AE5 #CF9EEE #E9D2F7 #F2E5FA

Accessibility & contrast

On white

2.15
#CF9EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CF9EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EEE
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EEE#FFFFFF#000000##000000
##CF9EEE1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#CCA9BB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9eee;
/* rgb */ color: rgb(207, 158, 238);
/* oklch */ color: oklch(77.3% 0.122 311.7);
Tailwind
colors: {
  custom: {
    50: '#debbf3',
    500: '#cf9eee',
    950: '#000000',
  },
}
SCSS
$custom: #cf9eee;
$custom-light: #debbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9eee",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 238
  },
  "hsl": {
    "h": 276.75,
    "s": 70.175,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7729,
    "c": 0.12244,
    "h": 311.7
  },
  "luminance": 0.43892
}

Semantic roles & 50–950 ramp

primary
#CF9EEE
secondary
#E3F2D9
accent
#D2135D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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