#CB96DC#CB96DC

#CB96DC is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.8% C 0.113 H 317.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CB96DC
RGBrgb(203, 150, 220)
HSLhsl(285, 50%, 73%)
HSVhsv(285, 32%, 86%)
CMYKcmyk(7.7%, 31.8%, 0%, 13.7%)
CIE-LABlab(69.24, 32.01, -27.92)
CIE-LCHlch(69.24, 42.47, 318.90°)
OKLaboklab(74.75% 0.084 -0.0763)
OKLCHoklch(74.75% 0.113 317.8)
XYZxyz(48.4514, 39.6776, 72.8025)
Luminance0.3968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96DC #A7DC96
analogous
#A896DC #CB96DC #DC96CA
triadic
#CB96DC #DCCB96 #96DCCB
tetradic
#CB96DC #DCA896 #A7DC96 #96CADC
square
#CB96DC #DCA896 #A7DC96 #96CADC
split-complementary
#CB96DC #CADC96 #96DCA8
monochromatic
#9C3EBA #B468CD #CB96DC #E2C4EB #F4E8F7

Accessibility & contrast

On white

2.35
#CB96DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CB96DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96DC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96DC#FFFFFF#000000##000000
##CB96DC1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6DF
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#CB9EAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb96dc;
/* rgb */ color: rgb(203, 150, 220);
/* oklch */ color: oklch(74.8% 0.113 317.8);
Tailwind
colors: {
  custom: {
    50: '#dbb5e7',
    500: '#cb96dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb96dc;
$custom-light: #dbb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96dc",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 285.429,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74751,
    "c": 0.11349,
    "h": 317.8
  },
  "luminance": 0.39677
}

Semantic roles & 50–950 ramp

primary
#CB96DC
secondary
#E1EEDD
accent
#BD284C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB96DC

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

Preview Lab → · Contrast checker → · Palette generator →

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