#CD96EA#CD96EA

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

Color values

HEX#CD96EA
RGBrgb(205, 150, 234)
HSLhsl(279, 67%, 75%)
HSVhsv(279, 36%, 92%)
CMYKcmyk(12.4%, 35.9%, 0%, 8.2%)
CIE-LABlab(69.99, 35.48, -34.45)
CIE-LCHlch(69.99, 49.45, 315.85°)
OKLaboklab(75.55% 0.0897 -0.0948)
OKLCHoklch(75.55% 0.131 313.4)
XYZxyz(50.9320, 40.7333, 83.0052)
Luminance0.4073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96EA #B3EA96
analogous
#A396EA #CD96EA #EA96DD
triadic
#CD96EA #EACD96 #96EACD
tetradic
#CD96EA #EAA396 #B3EA96 #96DDEA
square
#CD96EA #EAA396 #B3EA96 #96DDEA
split-complementary
#CD96EA #DDEA96 #96EAA3
monochromatic
#9C30D6 #B563E0 #CD96EA #E5C9F4 #F3E5FA

Accessibility & contrast

On white

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

On black

9.15
#CD96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96EA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96EA#FFFFFF#000000##000000
##CD96EA1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd96ea;
/* rgb */ color: rgb(205, 150, 234);
/* oklch */ color: oklch(75.5% 0.131 313.4);
Tailwind
colors: {
  custom: {
    50: '#ddb5f1',
    500: '#cd96ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd96ea;
$custom-light: #ddb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96ea",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 279.286,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75547,
    "c": 0.13053,
    "h": 313.4
  },
  "luminance": 0.40732
}

Semantic roles & 50–950 ramp

primary
#CD96EA
secondary
#E2F1DA
accent
#CF1756
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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