#CD8AD2#CD8AD2

#CD8AD2 is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.5% C 0.125 H 324.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CD8AD2
RGBrgb(205, 138, 210)
HSLhsl(296, 44%, 68%)
HSVhsv(296, 34%, 82%)
CMYKcmyk(2.4%, 34.3%, 0%, 17.6%)
CIE-LABlab(66.38, 37.20, -26.77)
CIE-LCHlch(66.38, 45.83, 324.27°)
OKLaboklab(72.5% 0.1016 -0.0729)
OKLCHoklch(72.5% 0.125 324.4)
XYZxyz(45.8970, 35.8109, 65.4548)
Luminance0.3581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AD2 #8FD28A
analogous
#A98AD2 #CD8AD2 #D28AB3
triadic
#CD8AD2 #D2CD8A #8AD2CD
tetradic
#CD8AD2 #D2A98A #8FD28A #8AB3D2
square
#CD8AD2 #D2A98A #8FD28A #8AB3D2
split-complementary
#CD8AD2 #B3D28A #8AD2A9
monochromatic
#9C3FA3 #BA5EC1 #CD8AD2 #E0B6E3 #F3E2F4

Accessibility & contrast

On white

2.57
#CD8AD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#CD8AD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AD2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AD2#FFFFFF#000000##000000
##CD8AD21.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#839CD5
Deuteranopia (green-blind)
#94A4D0
Tritanopia (blue-blind)
#D091A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd8ad2;
/* rgb */ color: rgb(205, 138, 210);
/* oklch */ color: oklch(72.5% 0.125 324.4);
Tailwind
colors: {
  custom: {
    50: '#ddade0',
    500: '#cd8ad2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ad2;
$custom-light: #ddade0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ad2",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 210
  },
  "hsl": {
    "h": 295.833,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.725,
    "c": 0.12507,
    "h": 324.4
  },
  "luminance": 0.35809
}

Semantic roles & 50–950 ramp

primary
#CD8AD2
secondary
#D2E7D1
accent
#B82E37
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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