#CD8ED2#CD8ED2

#CD8ED2 is a light, moderate purple. Relative luminance 0.370; OKLCH L 73.2% C 0.118 H 324.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CD8ED2
RGBrgb(205, 142, 210)
HSLhsl(296, 43%, 69%)
HSVhsv(296, 32%, 82%)
CMYKcmyk(2.4%, 32.4%, 0%, 17.6%)
CIE-LABlab(67.26, 35.04, -25.41)
CIE-LCHlch(67.26, 43.28, 324.06°)
OKLaboklab(73.17% 0.0957 -0.0691)
OKLCHoklch(73.17% 0.118 324.2)
XYZxyz(46.4815, 36.9798, 65.6496)
Luminance0.3698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8ED2 #93D28E
analogous
#AB8ED2 #CD8ED2 #D28EB5
triadic
#CD8ED2 #D2CD8E #8ED2CD
tetradic
#CD8ED2 #D2AB8E #93D28E #8EB5D2
square
#CD8ED2 #D2AB8E #93D28E #8EB5D2
split-complementary
#CD8ED2 #B5D28E #8ED2AB
monochromatic
#9D41A4 #BA62C1 #CD8ED2 #E0BAE3 #F4E6F5

Accessibility & contrast

On white

2.50
#CD8ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#CD8ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8ED2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8ED2#FFFFFF#000000##000000
##CD8ED21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#889FD5
Deuteranopia (green-blind)
#97A6D0
Tritanopia (blue-blind)
#D095A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ed2;
/* rgb */ color: rgb(205, 142, 210);
/* oklch */ color: oklch(73.2% 0.118 324.2);
Tailwind
colors: {
  custom: {
    50: '#ddb0e0',
    500: '#cd8ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ed2;
$custom-light: #ddb0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ed2",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 210
  },
  "hsl": {
    "h": 295.588,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73172,
    "c": 0.11799,
    "h": 324.2
  },
  "luminance": 0.36978
}

Semantic roles & 50–950 ramp

primary
#CD8ED2
secondary
#D5E8D4
accent
#B62F39
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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