#CF9DEC#CF9DEC

#CF9DEC is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.0% C 0.122 H 312.6°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CF9DEC
RGBrgb(207, 157, 236)
HSLhsl(278, 68%, 77%)
HSVhsv(278, 33%, 93%)
CMYKcmyk(12.3%, 33.5%, 0%, 7.5%)
CIE-LABlab(71.85, 32.69, -32.64)
CIE-LCHlch(71.85, 46.20, 315.04°)
OKLaboklab(77.03% 0.0824 -0.0896)
OKLCHoklch(77.03% 0.122 312.6)
XYZxyz(52.9269, 43.4363, 84.9365)
Luminance0.4344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9DEC #BAEC9D
analogous
#A89DEC #CF9DEC #EC9DE1
triadic
#CF9DEC #ECCF9D #9DECCF
tetradic
#CF9DEC #ECA89D #BAEC9D #9DE1EC
square
#CF9DEC #ECA89D #BAEC9D #9DE1EC
split-complementary
#CF9DEC #E1EC9D #9DECA8
monochromatic
#9D36D8 #B66AE2 #CF9DEC #E8D0F6 #F2E5FA

Accessibility & contrast

On white

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

On black

9.69
#CF9DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9DEC
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9DEC#FFFFFF#000000##000000
##CF9DEC1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEF
Deuteranopia (green-blind)
#9BB1EA
Tritanopia (blue-blind)
#CDA7BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9dec;
/* rgb */ color: rgb(207, 157, 236);
/* oklch */ color: oklch(77.0% 0.122 312.6);
Tailwind
colors: {
  custom: {
    50: '#debaf2',
    500: '#cf9dec',
    950: '#000000',
  },
}
SCSS
$custom: #cf9dec;
$custom-light: #debaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9dec",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 277.975,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77031,
    "c": 0.12177,
    "h": 312.6
  },
  "luminance": 0.43435
}

Semantic roles & 50–950 ramp

primary
#CF9DEC
secondary
#E2F2D9
accent
#CF165A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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