#CF96DA#CF96DA

#CF96DA is a light, moderate purple. Relative luminance 0.401; OKLCH L 75.1% C 0.114 H 320.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CF96DA
RGBrgb(207, 150, 218)
HSLhsl(290, 48%, 72%)
HSVhsv(290, 31%, 85%)
CMYKcmyk(5%, 31.2%, 0%, 14.5%)
CIE-LABlab(69.57, 32.88, -26.28)
CIE-LCHlch(69.57, 42.09, 321.37°)
OKLaboklab(75.07% 0.0881 -0.0716)
OKLCHoklch(75.07% 0.114 320.9)
XYZxyz(49.2918, 40.1414, 71.4676)
Luminance0.4014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96DA #A1DA96
analogous
#AD96DA #CF96DA #DA96C3
triadic
#CF96DA #DACF96 #96DACF
tetradic
#CF96DA #DAAD96 #A1DA96 #96C3DA
square
#CF96DA #DAAD96 #A1DA96 #96C3DA
split-complementary
#CF96DA #C3DA96 #96DAAD
monochromatic
#A340B6 #BA69CA #CF96DA #E4C3EA #F5E8F7

Accessibility & contrast

On white

2.33
#CF96DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#CF96DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96DA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96DA#FFFFFF#000000##000000
##CF96DA1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DD
Deuteranopia (green-blind)
#9CACD8
Tritanopia (blue-blind)
#D19DAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf96da;
/* rgb */ color: rgb(207, 150, 218);
/* oklch */ color: oklch(75.1% 0.114 320.9);
Tailwind
colors: {
  custom: {
    50: '#deb5e5',
    500: '#cf96da',
    950: '#000000',
  },
}
SCSS
$custom: #cf96da;
$custom-light: #deb5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96da",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 218
  },
  "hsl": {
    "h": 290.294,
    "s": 47.887,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75071,
    "c": 0.1135,
    "h": 320.9
  },
  "luminance": 0.4014
}

Semantic roles & 50–950 ramp

primary
#CF96DA
secondary
#E0EEDD
accent
#BB2A42
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CF96DA

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

Preview Lab → · Contrast checker → · Palette generator →

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