#CD96E5#CD96E5

#CD96E5 is a light, vivid purple. Relative luminance 0.404; OKLCH L 75.3% C 0.125 H 315.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CD96E5
RGBrgb(205, 150, 229)
HSLhsl(282, 60%, 74%)
HSVhsv(282, 34%, 90%)
CMYKcmyk(10.5%, 34.5%, 0%, 10.2%)
CIE-LABlab(69.79, 34.45, -32.01)
CIE-LCHlch(69.79, 47.03, 317.10°)
OKLaboklab(75.33% 0.0886 -0.0878)
OKLCHoklch(75.33% 0.125 315.2)
XYZxyz(50.2239, 40.4500, 79.2754)
Luminance0.4045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96E5 #AEE596
analogous
#A696E5 #CD96E5 #E596D6
triadic
#CD96E5 #E5CD96 #96E5CD
tetradic
#CD96E5 #E5A696 #AEE596 #96D6E5
square
#CD96E5 #E5A696 #AEE596 #96D6E5
split-complementary
#CD96E5 #D6E596 #96E5A6
monochromatic
#9E34CD #B665D9 #CD96E5 #E4C7F1 #F3E6F9

Accessibility & contrast

On white

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

On black

9.09
#CD96E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96E5
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96E5#FFFFFF#000000##000000
##CD96E51.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA7E8
Deuteranopia (green-blind)
#97ACE3
Tritanopia (blue-blind)
#CCA0B3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd96e5;
/* rgb */ color: rgb(205, 150, 229);
/* oklch */ color: oklch(75.3% 0.125 315.2);
Tailwind
colors: {
  custom: {
    50: '#ddb5ed',
    500: '#cd96e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd96e5;
$custom-light: #ddb5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96e5",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 229
  },
  "hsl": {
    "h": 281.772,
    "s": 60.305,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75329,
    "c": 0.12476,
    "h": 315.2
  },
  "luminance": 0.40449
}

Semantic roles & 50–950 ramp

primary
#CD96E5
secondary
#E1F0DB
accent
#C81E51
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96E5

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

Preview Lab → · Contrast checker → · Palette generator →

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