#CB96CD#CB96CD

#CB96CD is a light, moderate purple. Relative luminance 0.389; OKLCH L 74.2% C 0.097 H 325.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CB96CD
RGBrgb(203, 150, 205)
HSLhsl(298, 35%, 70%)
HSVhsv(298, 27%, 80%)
CMYKcmyk(1%, 26.8%, 0%, 19.6%)
CIE-LABlab(68.69, 29.08, -20.46)
CIE-LCHlch(68.69, 35.56, 324.86°)
OKLaboklab(74.15% 0.0799 -0.0553)
OKLCHoklch(74.15% 0.097 325.3)
XYZxyz(46.5532, 38.9184, 62.8055)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96CD #98CD96
analogous
#B096CD #CB96CD #CD96B4
triadic
#CB96CD #CDCB96 #96CDCB
tetradic
#CB96CD #CDB096 #98CD96 #96B4CD
square
#CB96CD #CDB096 #98CD96 #96B4CD
split-complementary
#CB96CD #B4CD96 #96CDB0
monochromatic
#9B4B9E #B66DB9 #CB96CD #E0BFE1 #F4E9F4

Accessibility & contrast

On white

2.39
#CB96CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CB96CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96CD
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96CD#FFFFFF#000000##000000
##CB96CD1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4CF
Deuteranopia (green-blind)
#9EAACB
Tritanopia (blue-blind)
#CE9BA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb96cd;
/* rgb */ color: rgb(203, 150, 205);
/* oklch */ color: oklch(74.2% 0.097 325.3);
Tailwind
colors: {
  custom: {
    50: '#dbb5dc',
    500: '#cb96cd',
    950: '#000000',
  },
}
SCSS
$custom: #cb96cd;
$custom-light: #dbb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96cd",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 297.818,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74153,
    "c": 0.09716,
    "h": 325.3
  },
  "luminance": 0.38917
}

Semantic roles & 50–950 ramp

primary
#CB96CD
secondary
#D8E7D8
accent
#AE373B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB96CD

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

Preview Lab → · Contrast checker → · Palette generator →

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