#CF96DB#CF96DB

#CF96DB is a light, moderate purple. Relative luminance 0.402; OKLCH L 75.1% C 0.115 H 320.5°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#CF96DB
RGBrgb(207, 150, 219)
HSLhsl(290, 49%, 72%)
HSVhsv(290, 32%, 86%)
CMYKcmyk(5.5%, 31.5%, 0%, 14.1%)
CIE-LABlab(69.61, 33.07, -26.77)
CIE-LCHlch(69.61, 42.55, 321.01°)
OKLaboklab(75.11% 0.0884 -0.073)
OKLCHoklch(75.11% 0.115 320.5)
XYZxyz(49.4230, 40.1939, 72.1588)
Luminance0.4019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF96DB #A2DB96
analogous
#AC96DB #CF96DB #DB96C5
triadic
#CF96DB #DBCF96 #96DBCF
tetradic
#CF96DB #DBAC96 #A2DB96 #96C5DB
square
#CF96DB #DBAC96 #A2DB96 #96C5DB
split-complementary
#CF96DB #C5DB96 #96DBAC
monochromatic
#A33FB8 #BA68CB #CF96DB #E4C4EB #F5E8F7

Accessibility & contrast

On white

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

On black

9.04
#CF96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF96DB
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF96DB#FFFFFF#000000##000000
##CF96DB1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DE
Deuteranopia (green-blind)
#9CACD9
Tritanopia (blue-blind)
#D09DAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf96db;
/* rgb */ color: rgb(207, 150, 219);
/* oklch */ color: oklch(75.1% 0.115 320.5);
Tailwind
colors: {
  custom: {
    50: '#deb5e6',
    500: '#cf96db',
    950: '#000000',
  },
}
SCSS
$custom: #cf96db;
$custom-light: #deb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf96db",
  "rgb": {
    "r": 207,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 289.565,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75111,
    "c": 0.11459,
    "h": 320.5
  },
  "luminance": 0.40193
}

Semantic roles & 50–950 ramp

primary
#CF96DB
secondary
#E0EEDD
accent
#BC2943
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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