#CD96DF#CD96DF

#CD96DF is a light, moderate purple. Relative luminance 0.401; OKLCH L 75.1% C 0.118 H 317.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CD96DF
RGBrgb(205, 150, 223)
HSLhsl(285, 53%, 73%)
HSVhsv(285, 33%, 87%)
CMYKcmyk(8.1%, 32.7%, 0%, 12.5%)
CIE-LABlab(69.56, 33.23, -29.07)
CIE-LCHlch(69.56, 44.16, 318.82°)
OKLaboklab(75.08% 0.0871 -0.0795)
OKLCHoklch(75.08% 0.118 317.6)
XYZxyz(49.4006, 40.1207, 74.9395)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96DF #A8DF96
analogous
#A896DF #CD96DF #DF96CD
triadic
#CD96DF #DFCD96 #96DFCD
tetradic
#CD96DF #DFA896 #A8DF96 #96CDDF
square
#CD96DF #DFA896 #A8DF96 #96CDDF
split-complementary
#CD96DF #CDDF96 #96DFA8
monochromatic
#9F3BC0 #B767D1 #CD96DF #E3C5ED #F4E8F8

Accessibility & contrast

On white

2.33
#CD96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#CD96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96DF
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96DF#FFFFFF#000000##000000
##CD96DF1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E2
Deuteranopia (green-blind)
#99ACDD
Tritanopia (blue-blind)
#CD9FB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd96df;
/* rgb */ color: rgb(205, 150, 223);
/* oklch */ color: oklch(75.1% 0.118 317.6);
Tailwind
colors: {
  custom: {
    50: '#ddb5e9',
    500: '#cd96df',
    950: '#000000',
  },
}
SCSS
$custom: #cd96df;
$custom-light: #ddb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96df",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 285.205,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75075,
    "c": 0.11793,
    "h": 317.6
  },
  "luminance": 0.4012
}

Semantic roles & 50–950 ramp

primary
#CD96DF
secondary
#E1EFDC
accent
#C1254B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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