#CF9EFC#CF9EFC

#CF9EFC is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.9% C 0.139 H 307.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CF9EFC
RGBrgb(207, 158, 252)
HSLhsl(271, 94%, 80%)
HSVhsv(271, 37%, 99%)
CMYKcmyk(17.9%, 37.3%, 0%, 1.2%)
CIE-LABlab(72.73, 35.54, -39.99)
CIE-LCHlch(72.73, 53.50, 311.63°)
OKLaboklab(77.91% 0.0846 -0.1107)
OKLCHoklch(77.91% 0.139 307.4)
XYZxyz(55.5263, 44.7479, 97.7886)
Luminance0.4475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EFC #CBFC9E
analogous
#A09EFC #CF9EFC #FC9EFA
triadic
#CF9EFC #FCCF9E #9EFCCF
tetradic
#CF9EFC #FCA09E #CBFC9E #9EFAFC
square
#CF9EFC #FCA09E #CBFC9E #9EFAFC
split-complementary
#CF9EFC #FAFC9E #9EFCA0
monochromatic
#9427F8 #B263FA #CF9EFC #ECD9FE #F0E1FE

Accessibility & contrast

On white

2.11
#CF9EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CF9EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EFC
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EFC#FFFFFF#000000##000000
##CF9EFC1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#C9ACC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9efc;
/* rgb */ color: rgb(207, 158, 252);
/* oklch */ color: oklch(77.9% 0.139 307.4);
Tailwind
colors: {
  custom: {
    50: '#dfbbfd',
    500: '#cf9efc',
    950: '#000000',
  },
}
SCSS
$custom: #cf9efc;
$custom-light: #dfbbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9efc",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 252
  },
  "hsl": {
    "h": 271.277,
    "s": 94,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77909,
    "c": 0.1393,
    "h": 307.4
  },
  "luminance": 0.44747
}

Semantic roles & 50–950 ramp

primary
#CF9EFC
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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