#CD96D4#CD96D4

#CD96D4 is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.6% C 0.106 H 322.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CD96D4
RGBrgb(205, 150, 212)
HSLhsl(293, 42%, 71%)
HSVhsv(293, 29%, 83%)
CMYKcmyk(3.3%, 29.2%, 0%, 16.9%)
CIE-LABlab(69.15, 31.07, -23.63)
CIE-LCHlch(69.15, 39.04, 322.74°)
OKLaboklab(74.63% 0.0842 -0.0641)
OKLCHoklch(74.63% 0.106 322.7)
XYZxyz(47.9654, 39.5466, 67.3812)
Luminance0.3955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96D4 #9DD496
analogous
#AE96D4 #CD96D4 #D496BC
triadic
#CD96D4 #D4CD96 #96D4CD
tetradic
#CD96D4 #D4AE96 #9DD496 #96BCD4
square
#CD96D4 #D4AE96 #9DD496 #96BCD4
split-complementary
#CD96D4 #BCD496 #96D4AE
monochromatic
#9F46AA #B86BC2 #CD96D4 #E2C1E6 #F5E9F6

Accessibility & contrast

On white

2.36
#CD96D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CD96D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96D4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96D4#FFFFFF#000000##000000
##CD96D41.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A5D6
Deuteranopia (green-blind)
#9DABD2
Tritanopia (blue-blind)
#CF9CAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd96d4;
/* rgb */ color: rgb(205, 150, 212);
/* oklch */ color: oklch(74.6% 0.106 322.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5e1',
    500: '#cd96d4',
    950: '#000000',
  },
}
SCSS
$custom: #cd96d4;
$custom-light: #ddb5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96d4",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 212
  },
  "hsl": {
    "h": 293.226,
    "s": 41.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74628,
    "c": 0.10584,
    "h": 322.7
  },
  "luminance": 0.39545
}

Semantic roles & 50–950 ramp

primary
#CD96D4
secondary
#DDEBDB
accent
#B5313F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96D4

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

Preview Lab → · Contrast checker → · Palette generator →

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