#CF96DF#CF96DF

#CF96DF is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.3% C 0.119 H 318.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CF96DF
RGBrgb(207, 150, 223)
HSLhsl(287, 53%, 73%)
HSVhsv(287, 33%, 87%)
CMYKcmyk(7.2%, 32.7%, 0%, 12.5%)
CIE-LABlab(69.76, 33.86, -28.74)
CIE-LCHlch(69.76, 44.41, 319.67°)
OKLaboklab(75.28% 0.0894 -0.0785)
OKLCHoklch(75.28% 0.119 318.7)
XYZxyz(49.9559, 40.4070, 74.9655)
Luminance0.4041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96DF #A6DF96
analogous
#AA96DF #CF96DF #DF96CA
triadic
#CF96DF #DFCF96 #96DFCF
tetradic
#CF96DF #DFAA96 #A6DF96 #96CADF
square
#CF96DF #DFAA96 #A6DF96 #96CADF
split-complementary
#CF96DF #CADF96 #96DFAA
monochromatic
#A33BC0 #BA67D1 #CF96DF #E4C5ED #F4E8F8

Accessibility & contrast

On white

2.31
#CF96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CF96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96DF
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96DF#FFFFFF#000000##000000
##CF96DF1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#9AACDD
Tritanopia (blue-blind)
#D09EB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf96df;
/* rgb */ color: rgb(207, 150, 223);
/* oklch */ color: oklch(75.3% 0.119 318.7);
Tailwind
colors: {
  custom: {
    50: '#deb5e9',
    500: '#cf96df',
    950: '#000000',
  },
}
SCSS
$custom: #cf96df;
$custom-light: #deb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96df",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 286.849,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75276,
    "c": 0.11899,
    "h": 318.7
  },
  "luminance": 0.40406
}

Semantic roles & 50–950 ramp

primary
#CF96DF
secondary
#E0EFDC
accent
#C12547
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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