#CF9EFB#CF9EFB

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

Color values

HEX#CF9EFB
RGBrgb(207, 158, 251)
HSLhsl(272, 92%, 80%)
HSVhsv(272, 37%, 98%)
CMYKcmyk(17.5%, 37.1%, 0%, 1.6%)
CIE-LABlab(72.68, 35.33, -39.51)
CIE-LCHlch(72.68, 53.00, 311.80°)
OKLaboklab(77.86% 0.0844 -0.1093)
OKLCHoklch(77.86% 0.138 307.7)
XYZxyz(55.3682, 44.6847, 96.9562)
Luminance0.4468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EFB #CAFB9E
analogous
#A09EFB #CF9EFB #FB9EF8
triadic
#CF9EFB #FBCF9E #9EFBCF
tetradic
#CF9EFB #FBA09E #CAFB9E #9EF8FB
square
#CF9EFB #FBA09E #CAFB9E #9EF8FB
split-complementary
#CF9EFB #F8FB9E #9EFBA0
monochromatic
#9528F6 #B263F9 #CF9EFB #ECD9FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.94
#CF9EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EFB
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EFB#FFFFFF#000000##000000
##CF9EFB1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FF
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#C9ACC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9efb;
/* rgb */ color: rgb(207, 158, 251);
/* oklch */ color: oklch(77.9% 0.138 307.7);
Tailwind
colors: {
  custom: {
    50: '#dfbbfd',
    500: '#cf9efb',
    950: '#000000',
  },
}
SCSS
$custom: #cf9efb;
$custom-light: #dfbbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9efb",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 271.613,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77863,
    "c": 0.13808,
    "h": 307.7
  },
  "luminance": 0.44684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF9EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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