#CD8DEA#CD8DEA

#CD8DEA is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.0% C 0.146 H 314.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CD8DEA
RGBrgb(205, 141, 234)
HSLhsl(281, 69%, 74%)
HSVhsv(281, 40%, 92%)
CMYKcmyk(12.4%, 39.7%, 0%, 8.2%)
CIE-LABlab(68.00, 40.35, -37.54)
CIE-LCHlch(68.00, 55.11, 317.07°)
OKLaboklab(74.04% 0.1027 -0.1036)
OKLCHoklch(74.04% 0.146 314.7)
XYZxyz(49.5507, 37.9705, 82.5447)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DEA #AAEA8D
analogous
#9E8DEA #CD8DEA #EA8DD8
triadic
#CD8DEA #EACD8D #8DEACD
tetradic
#CD8DEA #EA9E8D #AAEA8D #8DD8EA
square
#CD8DEA #EA9E8D #AAEA8D #8DD8EA
split-complementary
#CD8DEA #D8EA8D #8DEA9E
monochromatic
#9F27D5 #B659E0 #CD8DEA #E4C1F4 #F4E5FA

Accessibility & contrast

On white

2.44
#CD8DEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#CD8DEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DEA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DEA#FFFFFF#000000##000000
##CD8DEA1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#8DA8E7
Tritanopia (blue-blind)
#CB9AB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8dea;
/* rgb */ color: rgb(205, 141, 234);
/* oklch */ color: oklch(74.0% 0.146 314.7);
Tailwind
colors: {
  custom: {
    50: '#ddaff1',
    500: '#cd8dea',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dea;
$custom-light: #ddaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dea",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 234
  },
  "hsl": {
    "h": 281.29,
    "s": 68.889,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74044,
    "c": 0.14584,
    "h": 314.7
  },
  "luminance": 0.37969
}

Semantic roles & 50–950 ramp

primary
#CD8DEA
secondary
#E1F2D9
accent
#D1154F
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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