#CD8AC2#CD8AC2

#CD8AC2 is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.9% C 0.110 H 332.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#CD8AC2
RGBrgb(205, 138, 194)
HSLhsl(310, 40%, 67%)
HSVhsv(310, 33%, 80%)
CMYKcmyk(0%, 32.7%, 5.4%, 19.6%)
CIE-LABlab(65.79, 34.25, -18.72)
CIE-LCHlch(65.79, 39.04, 331.34°)
OKLaboklab(71.86% 0.0973 -0.0503)
OKLCHoklch(71.86% 0.11 332.6)
XYZxyz(44.0024, 35.0530, 55.4766)
Luminance0.3505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AC2 #8ACD95
analogous
#B78ACD #CD8AC2 #CD8AA0
triadic
#CD8AC2 #C2CD8A #8AC2CD
tetradic
#CD8AC2 #CDB78A #8ACD95 #8AA0CD
square
#CD8AC2 #CDB78A #8ACD95 #8AA0CD
split-complementary
#CD8AC2 #A0CD8A #8ACDB7
monochromatic
#9B428C #BB5FAC #CD8AC2 #DFB5D8 #F2E0EF

Accessibility & contrast

On white

2.62
#CD8AC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#CD8AC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AC2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AC2#FFFFFF#000000##000000
##CD8AC21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#899AC4
Deuteranopia (green-blind)
#99A3C0
Tritanopia (blue-blind)
#D38D9E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd8ac2;
/* rgb */ color: rgb(205, 138, 194);
/* oklch */ color: oklch(71.9% 0.110 332.6);
Tailwind
colors: {
  custom: {
    50: '#ddadd4',
    500: '#cd8ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ac2;
$custom-light: #ddadd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ac2",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 194
  },
  "hsl": {
    "h": 309.851,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.10955,
    "h": 332.6
  },
  "luminance": 0.35051
}

Semantic roles & 50–950 ramp

primary
#CD8AC2
secondary
#CFE4D2
accent
#B34832
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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