#CF96CB#CF96CB

#CF96CB is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.5% C 0.098 H 328.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CF96CB
RGBrgb(207, 150, 203)
HSLhsl(304, 37%, 70%)
HSVhsv(304, 28%, 81%)
CMYKcmyk(0%, 27.5%, 1.9%, 18.8%)
CIE-LABlab(69.03, 30.03, -18.80)
CIE-LCHlch(69.03, 35.43, 327.95°)
OKLaboklab(74.49% 0.0839 -0.0506)
OKLCHoklch(74.49% 0.098 328.9)
XYZxyz(47.4170, 39.3915, 61.5939)
Luminance0.3939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96CB #96CF9A
analogous
#B796CF #CF96CB #CF96AE
triadic
#CF96CB #CBCF96 #96CBCF
tetradic
#CF96CB #CFB796 #96CF9A #96AECF
square
#CF96CB #CFB796 #96CF9A #96AECF
split-complementary
#CF96CB #AECF96 #96CFB7
monochromatic
#A14A9B #BC6CB6 #CF96CB #E2C0E0 #F5EAF5

Accessibility & contrast

On white

2.37
#CF96CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CF96CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96CB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96CB#FFFFFF#000000##000000
##CF96CB1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CD
Deuteranopia (green-blind)
#A1ABC9
Tritanopia (blue-blind)
#D39AA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf96cb;
/* rgb */ color: rgb(207, 150, 203);
/* oklch */ color: oklch(74.5% 0.098 328.9);
Tailwind
colors: {
  custom: {
    50: '#deb5db',
    500: '#cf96cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf96cb;
$custom-light: #deb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96cb",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 304.211,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.74485,
    "c": 0.09795,
    "h": 328.9
  },
  "luminance": 0.3939
}

Semantic roles & 50–950 ramp

primary
#CF96CB
secondary
#D8E8DA
accent
#B03E35
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CF96CB

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

Preview Lab → · Contrast checker → · Palette generator →

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