#CD96E9#CD96E9

#CD96E9 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.5% C 0.129 H 313.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CD96E9
RGBrgb(205, 150, 233)
HSLhsl(280, 65%, 75%)
HSVhsv(280, 36%, 91%)
CMYKcmyk(12%, 35.6%, 0%, 8.6%)
CIE-LABlab(69.95, 35.27, -33.96)
CIE-LCHlch(69.95, 48.96, 316.08°)
OKLaboklab(75.5% 0.0895 -0.0934)
OKLCHoklch(75.5% 0.129 313.8)
XYZxyz(50.7888, 40.6760, 82.2507)
Luminance0.4068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96E9 #B2E996
analogous
#A396E9 #CD96E9 #E996DB
triadic
#CD96E9 #E9CD96 #96E9CD
tetradic
#CD96E9 #E9A396 #B2E996 #96DBE9
square
#CD96E9 #E9A396 #B2E996 #96DBE9
split-complementary
#CD96E9 #DBE996 #96E9A3
monochromatic
#9D31D4 #B563DE #CD96E9 #E5C9F4 #F3E6FA

Accessibility & contrast

On white

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

On black

9.14
#CD96E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96E9
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96E9#FFFFFF#000000##000000
##CD96E91.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8EC
Deuteranopia (green-blind)
#95ACE7
Tritanopia (blue-blind)
#CBA1B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd96e9;
/* rgb */ color: rgb(205, 150, 233);
/* oklch */ color: oklch(75.5% 0.129 313.8);
Tailwind
colors: {
  custom: {
    50: '#ddb5f0',
    500: '#cd96e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd96e9;
$custom-light: #ddb5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96e9",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 233
  },
  "hsl": {
    "h": 279.759,
    "s": 65.354,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75503,
    "c": 0.12937,
    "h": 313.8
  },
  "luminance": 0.40675
}

Semantic roles & 50–950 ramp

primary
#CD96E9
secondary
#E2F1DA
accent
#CD1855
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96E9

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

Preview Lab → · Contrast checker → · Palette generator →

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