#CF9DFC#CF9DFC

#CF9DFC is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.7% C 0.141 H 307.6°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CF9DFC
RGBrgb(207, 157, 252)
HSLhsl(272, 94%, 80%)
HSVhsv(272, 38%, 99%)
CMYKcmyk(17.9%, 37.7%, 0%, 1.2%)
CIE-LABlab(72.50, 36.09, -40.34)
CIE-LCHlch(72.50, 54.12, 311.82°)
OKLaboklab(77.74% 0.086 -0.1117)
OKLCHoklch(77.74% 0.141 307.6)
XYZxyz(55.3564, 44.4081, 97.7320)
Luminance0.4441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9DFC #CAFC9D
analogous
#9F9DFC #CF9DFC #FC9DF9
triadic
#CF9DFC #FCCF9D #9DFCCF
tetradic
#CF9DFC #FC9F9D #CAFC9D #9DF9FC
square
#CF9DFC #FC9F9D #CAFC9D #9DF9FC
split-complementary
#CF9DFC #F9FC9D #9DFC9F
monochromatic
#9526F8 #B262FA #CF9DFC #ECD8FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.88
#CF9DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9DFC
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9DFC#FFFFFF#000000##000000
##CF9DFC1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#94B2F9
Tritanopia (blue-blind)
#C9ABC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9dfc;
/* rgb */ color: rgb(207, 157, 252);
/* oklch */ color: oklch(77.7% 0.141 307.6);
Tailwind
colors: {
  custom: {
    50: '#dfbafd',
    500: '#cf9dfc',
    950: '#000000',
  },
}
SCSS
$custom: #cf9dfc;
$custom-light: #dfbafd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9dfc",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 252
  },
  "hsl": {
    "h": 271.579,
    "s": 94.059,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77738,
    "c": 0.14094,
    "h": 307.6
  },
  "luminance": 0.44408
}

Semantic roles & 50–950 ramp

primary
#CF9DFC
secondary
#E5F6D5
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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