#CD8ECB#CD8ECB

#CD8ECB is a light, moderate purple. Relative luminance 0.366; OKLCH L 72.9% C 0.111 H 327.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CD8ECB
RGBrgb(205, 142, 203)
HSLhsl(302, 39%, 68%)
HSVhsv(302, 31%, 80%)
CMYKcmyk(0%, 30.7%, 1%, 19.6%)
CIE-LABlab(67.00, 33.72, -21.90)
CIE-LCHlch(67.00, 40.21, 327.00°)
OKLaboklab(72.89% 0.0938 -0.0592)
OKLCHoklch(72.89% 0.111 327.7)
XYZxyz(45.6284, 36.6386, 61.1568)
Luminance0.3664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8ECB #8ECD90
analogous
#AF8ECD #CD8ECB #CD8EAB
triadic
#CD8ECB #CBCD8E #8ECBCD
tetradic
#CD8ECB #CDAF8E #8ECD90 #8EABCD
square
#CD8ECB #CDAF8E #8ECD90 #8EABCD
split-complementary
#CD8ECB #ABCD8E #8ECDAF
monochromatic
#9C4599 #BA64B7 #CD8ECB #E0B8DF #F3E3F2

Accessibility & contrast

On white

2.52
#CD8ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CD8ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8ECB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8ECB#FFFFFF#000000##000000
##CD8ECB1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECD
Deuteranopia (green-blind)
#9AA6C9
Tritanopia (blue-blind)
#D193A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ecb;
/* rgb */ color: rgb(205, 142, 203);
/* oklch */ color: oklch(72.9% 0.111 327.7);
Tailwind
colors: {
  custom: {
    50: '#ddb0db',
    500: '#cd8ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ecb;
$custom-light: #ddb0db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ecb",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 301.905,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72892,
    "c": 0.1109,
    "h": 327.7
  },
  "luminance": 0.36637
}

Semantic roles & 50–950 ramp

primary
#CD8ECB
secondary
#D2E5D2
accent
#B23834
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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