#CD96CF#CD96CF

#CD96CF is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.4% C 0.101 H 325.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CD96CF
RGBrgb(205, 150, 207)
HSLhsl(298, 37%, 70%)
HSVhsv(298, 28%, 81%)
CMYKcmyk(1%, 27.5%, 0%, 18.8%)
CIE-LABlab(68.97, 30.12, -21.14)
CIE-LCHlch(68.97, 36.79, 324.94°)
OKLaboklab(74.43% 0.0828 -0.0572)
OKLCHoklch(74.43% 0.101 325.4)
XYZxyz(47.3445, 39.2983, 64.1107)
Luminance0.3930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96CF #98CF96
analogous
#B196CF #CD96CF #CF96B4
triadic
#CD96CF #CFCD96 #96CFCD
tetradic
#CD96CF #CFB196 #98CF96 #96B4CF
square
#CD96CF #CFB196 #98CF96 #96B4CF
split-complementary
#CD96CF #B4CF96 #96CFB1
monochromatic
#9E4AA1 #B96CBC #CD96CF #E1C0E2 #F5EAF5

Accessibility & contrast

On white

2.37
#CD96CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CD96CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96CF
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96CF#FFFFFF#000000##000000
##CD96CF1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D1
Deuteranopia (green-blind)
#9FABCD
Tritanopia (blue-blind)
#D09BAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd96cf;
/* rgb */ color: rgb(205, 150, 207);
/* oklch */ color: oklch(74.4% 0.101 325.4);
Tailwind
colors: {
  custom: {
    50: '#ddb5dd',
    500: '#cd96cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd96cf;
$custom-light: #ddb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96cf",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 297.895,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.74433,
    "c": 0.10058,
    "h": 325.4
  },
  "luminance": 0.39297
}

Semantic roles & 50–950 ramp

primary
#CD96CF
secondary
#D9E8D8
accent
#B0353A
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96CF

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

Preview Lab → · Contrast checker → · Palette generator →

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