#CD8AE7#CD8AE7

#CD8AE7 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.4% C 0.148 H 316.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CD8AE7
RGBrgb(205, 138, 231)
HSLhsl(283, 66%, 72%)
HSVhsv(283, 40%, 91%)
CMYKcmyk(11.3%, 40.3%, 0%, 9.4%)
CIE-LABlab(67.22, 41.35, -37.10)
CIE-LCHlch(67.22, 55.55, 318.10°)
OKLaboklab(73.42% 0.1063 -0.1023)
OKLCHoklch(73.42% 0.148 316.1)
XYZxyz(48.6870, 36.9269, 80.1487)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AE7 #A4E78A
analogous
#9F8AE7 #CD8AE7 #E78AD2
triadic
#CD8AE7 #E7CD8A #8AE7CD
tetradic
#CD8AE7 #E79F8A #A4E78A #8AD2E7
square
#CD8AE7 #E79F8A #A4E78A #8AD2E7
split-complementary
#CD8AE7 #D2E78A #8AE79F
monochromatic
#9F2ACD #B757DD #CD8AE7 #E3BDF1 #F4E6FA

Accessibility & contrast

On white

2.50
#CD8AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CD8AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AE7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AE7#FFFFFF#000000##000000
##CD8AE71.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9FEA
Deuteranopia (green-blind)
#8CA6E4
Tritanopia (blue-blind)
#CC96AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ae7;
/* rgb */ color: rgb(205, 138, 231);
/* oklch */ color: oklch(73.4% 0.148 316.1);
Tailwind
colors: {
  custom: {
    50: '#ddadef',
    500: '#cd8ae7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ae7;
$custom-light: #ddadef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ae7",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 231
  },
  "hsl": {
    "h": 283.226,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73417,
    "c": 0.14756,
    "h": 316.1
  },
  "luminance": 0.36926
}

Semantic roles & 50–950 ramp

primary
#CD8AE7
secondary
#E0F1DA
accent
#CE184B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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