#CD8AEE#CD8AEE

#CD8AEE is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.7% C 0.155 H 313.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CD8AEE
RGBrgb(205, 138, 238)
HSLhsl(280, 75%, 74%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(13.9%, 42%, 0%, 6.7%)
CIE-LABlab(67.52, 42.79, -40.48)
CIE-LCHlch(67.52, 58.90, 316.59°)
OKLaboklab(73.74% 0.1077 -0.112)
OKLCHoklch(73.74% 0.155 313.9)
XYZxyz(49.6954, 37.3302, 85.4599)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AEE #ABEE8A
analogous
#9B8AEE #CD8AEE #EE8ADD
triadic
#CD8AEE #EECD8A #8AEECD
tetradic
#CD8AEE #EE9B8A #ABEE8A #8ADDEE
square
#CD8AEE #EE9B8A #ABEE8A #8ADDEE
split-complementary
#CD8AEE #DDEE8A #8AEE9B
monochromatic
#9F20DD #B655E6 #CD8AEE #E4BFF6 #F4E4FB

Accessibility & contrast

On white

2.48
#CD8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CD8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AEE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AEE#FFFFFF#000000##000000
##CD8AEE1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F2
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#CB98B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8aee;
/* rgb */ color: rgb(205, 138, 238);
/* oklch */ color: oklch(73.7% 0.155 313.9);
Tailwind
colors: {
  custom: {
    50: '#deadf4',
    500: '#cd8aee',
    950: '#000000',
  },
}
SCSS
$custom: #cd8aee;
$custom-light: #deadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8aee",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 280.2,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73743,
    "c": 0.15537,
    "h": 313.9
  },
  "luminance": 0.37329
}

Semantic roles & 50–950 ramp

primary
#CD8AEE
secondary
#E1F3D8
accent
#D70F51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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