#CD8EE3#CD8EE3

#CD8EE3 is a light, vivid purple. Relative luminance 0.379; OKLCH L 73.9% C 0.136 H 317.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CD8EE3
RGBrgb(205, 142, 227)
HSLhsl(284, 60%, 72%)
HSVhsv(284, 37%, 89%)
CMYKcmyk(9.7%, 37.4%, 0%, 11%)
CIE-LABlab(67.93, 38.38, -33.79)
CIE-LCHlch(67.93, 51.14, 318.64°)
OKLaboklab(73.89% 0.0998 -0.0929)
OKLCHoklch(73.89% 0.136 317)
XYZxyz(48.7130, 37.8724, 77.4022)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EE3 #A4E38E
analogous
#A38EE3 #CD8EE3 #E38ECE
triadic
#CD8EE3 #E3CD8E #8EE3CD
tetradic
#CD8EE3 #E3A38E #A4E38E #8ECEE3
square
#CD8EE3 #E3A38E #A4E38E #8ECEE3
split-complementary
#CD8EE3 #CEE38E #8EE3A3
monochromatic
#9F31C6 #B75DD7 #CD8EE3 #E3BFEF #F4E6F9

Accessibility & contrast

On white

2.45
#CD8EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CD8EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EE3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EE3#FFFFFF#000000##000000
##CD8EE31.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E6
Deuteranopia (green-blind)
#91A8E0
Tritanopia (blue-blind)
#CD99AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8ee3;
/* rgb */ color: rgb(205, 142, 227);
/* oklch */ color: oklch(73.9% 0.136 317.0);
Tailwind
colors: {
  custom: {
    50: '#ddb0ec',
    500: '#cd8ee3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ee3;
$custom-light: #ddb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ee3",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 284.471,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73894,
    "c": 0.1363,
    "h": 317
  },
  "luminance": 0.37871
}

Semantic roles & 50–950 ramp

primary
#CD8EE3
secondary
#E0F0DB
accent
#C81E4A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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