#CD96CD#CD96CD

#CD96CD is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.4% C 0.099 H 326.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CD96CD
RGBrgb(205, 150, 205)
HSLhsl(300, 35%, 70%)
HSVhsv(300, 27%, 80%)
CMYKcmyk(0%, 26.8%, 0%, 19.6%)
CIE-LABlab(68.90, 29.74, -20.13)
CIE-LCHlch(68.90, 35.91, 325.90°)
OKLaboklab(74.36% 0.0822 -0.0544)
OKLCHoklch(74.36% 0.099 326.5)
XYZxyz(47.1015, 39.2011, 62.8312)
Luminance0.3920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96CD #96CD96
analogous
#B296CD #CD96CD #CD96B2
triadic
#CD96CD #CDCD96 #96CDCD
tetradic
#CD96CD #CDB296 #96CD96 #96B2CD
square
#CD96CD #CDB296 #96CD96 #96B2CD
split-complementary
#CD96CD #B2CD96 #96CDB2
monochromatic
#9E4B9E #B96DB9 #CD96CD #E1BFE1 #F4E9F4

Accessibility & contrast

On white

2.38
#CD96CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#CD96CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96CD
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96CD#FFFFFF#000000##000000
##CD96CD1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4CF
Deuteranopia (green-blind)
#9FABCB
Tritanopia (blue-blind)
#D09BA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd96cd;
/* rgb */ color: rgb(205, 150, 205);
/* oklch */ color: oklch(74.4% 0.099 326.5);
Tailwind
colors: {
  custom: {
    50: '#ddb5dc',
    500: '#cd96cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd96cd;
$custom-light: #ddb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96cd",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74356,
    "c": 0.09852,
    "h": 326.5
  },
  "luminance": 0.392
}

Semantic roles & 50–950 ramp

primary
#CD96CD
secondary
#D8E7D8
accent
#AE3737
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96CD

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

Preview Lab → · Contrast checker → · Palette generator →

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