#CD96E2#CD96E2

#CD96E2 is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.2% C 0.121 H 316.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CD96E2
RGBrgb(205, 150, 226)
HSLhsl(283, 57%, 74%)
HSVhsv(283, 34%, 89%)
CMYKcmyk(9.3%, 33.6%, 0%, 11.4%)
CIE-LABlab(69.67, 33.84, -30.55)
CIE-LCHlch(69.67, 45.59, 317.93°)
OKLaboklab(75.2% 0.0879 -0.0837)
OKLCHoklch(75.2% 0.121 316.4)
XYZxyz(49.8086, 40.2839, 77.0885)
Luminance0.4028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96E2 #ABE296
analogous
#A796E2 #CD96E2 #E296D1
triadic
#CD96E2 #E2CD96 #96E2CD
tetradic
#CD96E2 #E2A796 #ABE296 #96D1E2
square
#CD96E2 #E2A796 #ABE296 #96D1E2
split-complementary
#CD96E2 #D1E296 #96E2A7
monochromatic
#9F37C7 #B666D5 #CD96E2 #E4C6EF #F4E7F8

Accessibility & contrast

On white

2.32
#CD96E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CD96E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96E2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96E2#FFFFFF#000000##000000
##CD96E21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA7E5
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#CC9FB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd96e2;
/* rgb */ color: rgb(205, 150, 226);
/* oklch */ color: oklch(75.2% 0.121 316.4);
Tailwind
colors: {
  custom: {
    50: '#ddb5eb',
    500: '#cd96e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd96e2;
$custom-light: #ddb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96e2",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 283.421,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75201,
    "c": 0.12132,
    "h": 316.4
  },
  "luminance": 0.40283
}

Semantic roles & 50–950 ramp

primary
#CD96E2
secondary
#E1F0DB
accent
#C4214E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96E2

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

Preview Lab → · Contrast checker → · Palette generator →

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