#CD96E6#CD96E6

#CD96E6 is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.4% C 0.126 H 314.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CD96E6
RGBrgb(205, 150, 230)
HSLhsl(281, 62%, 75%)
HSVhsv(281, 35%, 90%)
CMYKcmyk(10.9%, 34.8%, 0%, 9.8%)
CIE-LABlab(69.83, 34.65, -32.50)
CIE-LCHlch(69.83, 47.51, 316.84°)
OKLaboklab(75.37% 0.0888 -0.0892)
OKLCHoklch(75.37% 0.126 314.9)
XYZxyz(50.3639, 40.5060, 80.0129)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96E6 #AFE696
analogous
#A596E6 #CD96E6 #E696D7
triadic
#CD96E6 #E6CD96 #96E6CD
tetradic
#CD96E6 #E6A596 #AFE696 #96D7E6
square
#CD96E6 #E6A596 #AFE696 #96D7E6
split-complementary
#CD96E6 #D7E696 #96E6A5
monochromatic
#9E33CE #B565DA #CD96E6 #E5C7F2 #F3E6F9

Accessibility & contrast

On white

2.31
#CD96E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CD96E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96E6
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96E6#FFFFFF#000000##000000
##CD96E61.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7E9
Deuteranopia (green-blind)
#96ACE4
Tritanopia (blue-blind)
#CCA0B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd96e6;
/* rgb */ color: rgb(205, 150, 230);
/* oklch */ color: oklch(75.4% 0.126 314.9);
Tailwind
colors: {
  custom: {
    50: '#ddb5ee',
    500: '#cd96e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd96e6;
$custom-light: #ddb5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96e6",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 230
  },
  "hsl": {
    "h": 281.25,
    "s": 61.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75372,
    "c": 0.12591,
    "h": 314.9
  },
  "luminance": 0.40505
}

Semantic roles & 50–950 ramp

primary
#CD96E6
secondary
#E1F0DB
accent
#C91C52
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96E6

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

Preview Lab → · Contrast checker → · Palette generator →

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