#CD96E7#CD96E7

#CD96E7 is a light, vivid purple. Relative luminance 0.406; OKLCH L 75.4% C 0.127 H 314.5°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#CD96E7
RGBrgb(205, 150, 231)
HSLhsl(281, 63%, 75%)
HSVhsv(281, 35%, 91%)
CMYKcmyk(11.3%, 35.1%, 0%, 9.4%)
CIE-LABlab(69.87, 34.86, -32.99)
CIE-LCHlch(69.87, 47.99, 316.58°)
OKLaboklab(75.42% 0.0891 -0.0906)
OKLCHoklch(75.42% 0.127 314.5)
XYZxyz(50.5047, 40.5623, 80.7546)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96E7 #B0E796
analogous
#A596E7 #CD96E7 #E796D8
triadic
#CD96E7 #E7CD96 #96E7CD
tetradic
#CD96E7 #E7A596 #B0E796 #96D8E7
square
#CD96E7 #E7A596 #B0E796 #96D8E7
split-complementary
#CD96E7 #D8E796 #96E7A5
monochromatic
#9E32D0 #B564DC #CD96E7 #E5C8F2 #F3E6F9

Accessibility & contrast

On white

2.30
#CD96E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#CD96E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96E7
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96E7#FFFFFF#000000##000000
##CD96E71.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7EA
Deuteranopia (green-blind)
#96ACE5
Tritanopia (blue-blind)
#CBA1B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd96e7;
/* rgb */ color: rgb(205, 150, 231);
/* oklch */ color: oklch(75.4% 0.127 314.5);
Tailwind
colors: {
  custom: {
    50: '#ddb5ef',
    500: '#cd96e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd96e7;
$custom-light: #ddb5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96e7",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 231
  },
  "hsl": {
    "h": 280.741,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75416,
    "c": 0.12705,
    "h": 314.5
  },
  "luminance": 0.40561
}

Semantic roles & 50–950 ramp

primary
#CD96E7
secondary
#E1F1DA
accent
#CB1B53
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96E7

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

Preview Lab → · Contrast checker → · Palette generator →

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