#CD8AEC#CD8AEC

#CD8AEC is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.6% C 0.153 H 314.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CD8AEC
RGBrgb(205, 138, 236)
HSLhsl(281, 72%, 73%)
HSVhsv(281, 42%, 93%)
CMYKcmyk(13.1%, 41.5%, 0%, 7.5%)
CIE-LABlab(67.44, 42.37, -39.52)
CIE-LCHlch(67.44, 57.94, 317.00°)
OKLaboklab(73.65% 0.1073 -0.1092)
OKLCHoklch(73.65% 0.153 314.5)
XYZxyz(49.4032, 37.2134, 83.9210)
Luminance0.3721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AEC #A9EC8A
analogous
#9C8AEC #CD8AEC #EC8ADA
triadic
#CD8AEC #ECCD8A #8AECCD
tetradic
#CD8AEC #EC9C8A #A9EC8A #8ADAEC
square
#CD8AEC #EC9C8A #A9EC8A #8ADAEC
split-complementary
#CD8AEC #DAEC8A #8AEC9C
monochromatic
#9F23D8 #B655E3 #CD8AEC #E3BFF5 #F4E5FB

Accessibility & contrast

On white

2.49
#CD8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CD8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AEC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AEC#FFFFFF#000000##000000
##CD8AEC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#CB98B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8aec;
/* rgb */ color: rgb(205, 138, 236);
/* oklch */ color: oklch(73.6% 0.153 314.5);
Tailwind
colors: {
  custom: {
    50: '#deadf2',
    500: '#cd8aec',
    950: '#000000',
  },
}
SCSS
$custom: #cd8aec;
$custom-light: #deadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8aec",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 281.02,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73649,
    "c": 0.15312,
    "h": 314.5
  },
  "luminance": 0.37212
}

Semantic roles & 50–950 ramp

primary
#CD8AEC
secondary
#E1F2D9
accent
#D4114F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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