#CD8AE0#CD8AE0

#CD8AE0 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.1% C 0.140 H 318.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CD8AE0
RGBrgb(205, 138, 224)
HSLhsl(287, 58%, 71%)
HSVhsv(287, 38%, 88%)
CMYKcmyk(8.5%, 38.4%, 0%, 12.2%)
CIE-LABlab(66.93, 39.93, -33.68)
CIE-LCHlch(66.93, 52.24, 319.85°)
OKLaboklab(73.1% 0.1049 -0.0925)
OKLCHoklch(73.1% 0.14 318.6)
XYZxyz(47.7180, 36.5393, 75.0457)
Luminance0.3654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AE0 #9DE08A
analogous
#A28AE0 #CD8AE0 #E08AC8
triadic
#CD8AE0 #E0CD8A #8AE0CD
tetradic
#CD8AE0 #E0A28A #9DE08A #8AC8E0
square
#CD8AE0 #E0A28A #9DE08A #8AC8E0
split-complementary
#CD8AE0 #C8E08A #8AE0A2
monochromatic
#9F32BD #B85AD3 #CD8AE0 #E2BAED #F5E7F9

Accessibility & contrast

On white

2.53
#CD8AE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CD8AE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AE0
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AE0#FFFFFF#000000##000000
##CD8AE01.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE3
Deuteranopia (green-blind)
#8FA5DD
Tritanopia (blue-blind)
#CD95AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ae0;
/* rgb */ color: rgb(205, 138, 224);
/* oklch */ color: oklch(73.1% 0.140 318.6);
Tailwind
colors: {
  custom: {
    50: '#ddadea',
    500: '#cd8ae0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ae0;
$custom-light: #ddadea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ae0",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 224
  },
  "hsl": {
    "h": 286.744,
    "s": 58.108,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73102,
    "c": 0.13988,
    "h": 318.6
  },
  "luminance": 0.36538
}

Semantic roles & 50–950 ramp

primary
#CD8AE0
secondary
#DDEED7
accent
#C62044
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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