#CD96E4#CD96E4

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

Color values

HEX#CD96E4
RGBrgb(205, 150, 228)
HSLhsl(282, 59%, 74%)
HSVhsv(282, 34%, 89%)
CMYKcmyk(10.1%, 34.2%, 0%, 10.6%)
CIE-LABlab(69.75, 34.25, -31.52)
CIE-LCHlch(69.75, 46.55, 317.37°)
OKLaboklab(75.29% 0.0883 -0.0865)
OKLCHoklch(75.29% 0.124 315.6)
XYZxyz(50.0846, 40.3943, 78.5422)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96E4 #ADE496
analogous
#A696E4 #CD96E4 #E496D4
triadic
#CD96E4 #E4CD96 #96E4CD
tetradic
#CD96E4 #E4A696 #ADE496 #96D4E4
square
#CD96E4 #E4A696 #ADE496 #96D4E4
split-complementary
#CD96E4 #D4E496 #96E4A6
monochromatic
#9F35CB #B665D7 #CD96E4 #E4C7F1 #F3E7F9

Accessibility & contrast

On white

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

On black

9.08
#CD96E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96E4
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96E4#FFFFFF#000000##000000
##CD96E41.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd96e4;
/* rgb */ color: rgb(205, 150, 228);
/* oklch */ color: oklch(75.3% 0.124 315.6);
Tailwind
colors: {
  custom: {
    50: '#ddb5ec',
    500: '#cd96e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd96e4;
$custom-light: #ddb5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96e4",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 228
  },
  "hsl": {
    "h": 282.308,
    "s": 59.091,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75287,
    "c": 0.12361,
    "h": 315.6
  },
  "luminance": 0.40393
}

Semantic roles & 50–950 ramp

primary
#CD96E4
secondary
#E1F0DB
accent
#C71F50
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96E4

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

Preview Lab → · Contrast checker → · Palette generator →

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