#CF9DF9#CF9DF9

#CF9DF9 is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.6% C 0.137 H 308.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CF9DF9
RGBrgb(207, 157, 249)
HSLhsl(273, 88%, 80%)
HSVhsv(273, 37%, 98%)
CMYKcmyk(16.9%, 36.9%, 0%, 2.4%)
CIE-LABlab(72.38, 35.44, -38.91)
CIE-LCHlch(72.38, 52.63, 312.33°)
OKLaboklab(77.6% 0.0854 -0.1076)
OKLCHoklch(77.6% 0.137 308.4)
XYZxyz(54.8848, 44.2195, 95.2480)
Luminance0.4422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9DF9 #C7F99D
analogous
#A19DF9 #CF9DF9 #F99DF5
triadic
#CF9DF9 #F9CF9D #9DF9CF
tetradic
#CF9DF9 #F9A19D #C7F99D #9DF5F9
square
#CF9DF9 #F9A19D #C7F99D #9DF5F9
split-complementary
#CF9DF9 #F5F99D #9DF9A1
monochromatic
#972AF2 #B363F5 #CF9DF9 #EBD7FD #F1E2FD

Accessibility & contrast

On white

2.13
#CF9DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CF9DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9DF9
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9DF9#FFFFFF#000000##000000
##CF9DF91.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFD
Deuteranopia (green-blind)
#96B2F6
Tritanopia (blue-blind)
#CAABBF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9df9;
/* rgb */ color: rgb(207, 157, 249);
/* oklch */ color: oklch(77.6% 0.137 308.4);
Tailwind
colors: {
  custom: {
    50: '#dfbafb',
    500: '#cf9df9',
    950: '#000000',
  },
}
SCSS
$custom: #cf9df9;
$custom-light: #dfbafb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9df9",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 249
  },
  "hsl": {
    "h": 272.609,
    "s": 88.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77602,
    "c": 0.13732,
    "h": 308.4
  },
  "luminance": 0.44219
}

Semantic roles & 50–950 ramp

primary
#CF9DF9
secondary
#E4F5D6
accent
#E50069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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