#CB96DA#CB96DA

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

Color values

HEX#CB96DA
RGBrgb(203, 150, 218)
HSLhsl(287, 48%, 72%)
HSVhsv(287, 31%, 85%)
CMYKcmyk(6.9%, 31.2%, 0%, 14.5%)
CIE-LABlab(69.16, 31.61, -26.94)
CIE-LCHlch(69.16, 41.53, 319.56°)
OKLaboklab(74.67% 0.0835 -0.0735)
OKLCHoklch(74.67% 0.111 318.7)
XYZxyz(48.1881, 39.5723, 71.4158)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96DA #A5DA96
analogous
#A996DA #CB96DA #DA96C7
triadic
#CB96DA #DACB96 #96DACB
tetradic
#CB96DA #DAA996 #A5DA96 #96C7DA
square
#CB96DA #DAA996 #A5DA96 #96C7DA
split-complementary
#CB96DA #C7DA96 #96DAA9
monochromatic
#9C40B6 #B569CA #CB96DA #E1C3EA #F4E8F7

Accessibility & contrast

On white

2.36
#CB96DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CB96DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96DA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96DA#FFFFFF#000000##000000
##CB96DA1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DD
Deuteranopia (green-blind)
#9AABD8
Tritanopia (blue-blind)
#CC9EAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb96da;
/* rgb */ color: rgb(203, 150, 218);
/* oklch */ color: oklch(74.7% 0.111 318.7);
Tailwind
colors: {
  custom: {
    50: '#dbb5e5',
    500: '#cb96da',
    950: '#000000',
  },
}
SCSS
$custom: #cb96da;
$custom-light: #dbb5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96da",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 218
  },
  "hsl": {
    "h": 286.765,
    "s": 47.887,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74669,
    "c": 0.11124,
    "h": 318.7
  },
  "luminance": 0.39571
}

Semantic roles & 50–950 ramp

primary
#CB96DA
secondary
#E1EEDD
accent
#BB2A4A
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CB96DA

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

Preview Lab → · Contrast checker → · Palette generator →

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