#CB96DB#CB96DB

#CB96DB is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.7% C 0.112 H 318.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CB96DB
RGBrgb(203, 150, 219)
HSLhsl(286, 49%, 72%)
HSVhsv(286, 32%, 86%)
CMYKcmyk(7.3%, 31.5%, 0%, 14.1%)
CIE-LABlab(69.20, 31.81, -27.43)
CIE-LCHlch(69.20, 42.00, 319.22°)
OKLaboklab(74.71% 0.0838 -0.0749)
OKLCHoklch(74.71% 0.112 318.2)
XYZxyz(48.3193, 39.6248, 72.1071)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96DB #A6DB96
analogous
#A996DB #CB96DB #DB96C9
triadic
#CB96DB #DBCB96 #96DBCB
tetradic
#CB96DB #DBA996 #A6DB96 #96C9DB
square
#CB96DB #DBA996 #A6DB96 #96C9DB
split-complementary
#CB96DB #C9DB96 #96DBA9
monochromatic
#9C3FB8 #B468CB #CB96DB #E2C4EB #F4E8F7

Accessibility & contrast

On white

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

On black

8.92
#CB96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96DB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96DB#FFFFFF#000000##000000
##CB96DB1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb96db;
/* rgb */ color: rgb(203, 150, 219);
/* oklch */ color: oklch(74.7% 0.112 318.2);
Tailwind
colors: {
  custom: {
    50: '#dbb5e6',
    500: '#cb96db',
    950: '#000000',
  },
}
SCSS
$custom: #cb96db;
$custom-light: #dbb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96db",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 286.087,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7471,
    "c": 0.11237,
    "h": 318.2
  },
  "luminance": 0.39624
}

Semantic roles & 50–950 ramp

primary
#CB96DB
secondary
#E1EEDD
accent
#BC294B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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