#CF96DC#CF96DC

#CF96DC is a light, moderate purple. Relative luminance 0.402; OKLCH L 75.2% C 0.116 H 320.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CF96DC
RGBrgb(207, 150, 220)
HSLhsl(289, 50%, 73%)
HSVhsv(289, 32%, 86%)
CMYKcmyk(5.9%, 31.8%, 0%, 13.7%)
CIE-LABlab(69.64, 33.27, -27.27)
CIE-LCHlch(69.64, 43.01, 320.66°)
OKLaboklab(75.15% 0.0886 -0.0743)
OKLCHoklch(75.15% 0.116 320)
XYZxyz(49.5551, 40.2467, 72.8542)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96DC #A3DC96
analogous
#AC96DC #CF96DC #DC96C6
triadic
#CF96DC #DCCF96 #96DCCF
tetradic
#CF96DC #DCAC96 #A3DC96 #96C6DC
square
#CF96DC #DCAC96 #A3DC96 #96C6DC
split-complementary
#CF96DC #C6DC96 #96DCAC
monochromatic
#A33EBA #BA68CD #CF96DC #E4C4EB #F5E8F7

Accessibility & contrast

On white

2.32
#CF96DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CF96DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96DC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96DC#FFFFFF#000000##000000
##CF96DC1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DF
Deuteranopia (green-blind)
#9BACDA
Tritanopia (blue-blind)
#D09EAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf96dc;
/* rgb */ color: rgb(207, 150, 220);
/* oklch */ color: oklch(75.2% 0.116 320.0);
Tailwind
colors: {
  custom: {
    50: '#deb5e7',
    500: '#cf96dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf96dc;
$custom-light: #deb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96dc",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 288.857,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75152,
    "c": 0.11569,
    "h": 320
  },
  "luminance": 0.40245
}

Semantic roles & 50–950 ramp

primary
#CF96DC
secondary
#E0EEDD
accent
#BD2844
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF96DC

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

Preview Lab → · Contrast checker → · Palette generator →

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