#CD96FD#CD96FD

#CD96FD is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.4% C 0.153 H 307.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CD96FD
RGBrgb(205, 150, 253)
HSLhsl(272, 96%, 79%)
HSVhsv(272, 41%, 99%)
CMYKcmyk(19%, 40.7%, 0%, 0.8%)
CIE-LABlab(70.79, 39.53, -43.57)
CIE-LCHlch(70.79, 58.83, 312.22°)
OKLaboklab(76.42% 0.0936 -0.121)
OKLCHoklch(76.42% 0.153 307.7)
XYZxyz(53.8094, 41.8842, 98.1592)
Luminance0.4188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96FD #C6FD96
analogous
#9A96FD #CD96FD #FD96F9
triadic
#CD96FD #FDCD96 #96FDCD
tetradic
#CD96FD #FD9A96 #C6FD96 #96F9FD
square
#CD96FD #FD9A96 #C6FD96 #96F9FD
split-complementary
#CD96FD #F9FD96 #96FD9A
monochromatic
#941EFB #B05AFC #CD96FD #EAD2FE #F1E1FE

Accessibility & contrast

On white

2.24
#CD96FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CD96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96FD
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96FD#FFFFFF#000000##000000
##CD96FD1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#8CAEFA
Tritanopia (blue-blind)
#C6A6BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd96fd;
/* rgb */ color: rgb(205, 150, 253);
/* oklch */ color: oklch(76.4% 0.153 307.7);
Tailwind
colors: {
  custom: {
    50: '#deb5fe',
    500: '#cd96fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd96fd;
$custom-light: #deb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96fd",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 272.039,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76416,
    "c": 0.15297,
    "h": 307.7
  },
  "luminance": 0.41884
}

Semantic roles & 50–950 ramp

primary
#CD96FD
secondary
#E4F7D4
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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