#CD8AED#CD8AED

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

Color values

HEX#CD8AED
RGBrgb(205, 138, 237)
HSLhsl(281, 73%, 74%)
HSVhsv(281, 42%, 93%)
CMYKcmyk(13.5%, 41.8%, 0%, 7.1%)
CIE-LABlab(67.48, 42.58, -40.00)
CIE-LCHlch(67.48, 58.42, 316.79°)
OKLaboklab(73.7% 0.1075 -0.1106)
OKLCHoklch(73.7% 0.154 314.2)
XYZxyz(49.5489, 37.2716, 84.6883)
Luminance0.3727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AED #AAED8A
analogous
#9B8AED #CD8AED #ED8ADB
triadic
#CD8AED #EDCD8A #8AEDCD
tetradic
#CD8AED #ED9B8A #AAED8A #8ADBED
square
#CD8AED #ED9B8A #AAED8A #8ADBED
split-complementary
#CD8AED #DBED8A #8AED9B
monochromatic
#9F22DB #B655E5 #CD8AED #E4BFF5 #F4E4FB

Accessibility & contrast

On white

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

On black

8.45
#CD8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AED
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AED#FFFFFF#000000##000000
##CD8AED1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8aed;
/* rgb */ color: rgb(205, 138, 237);
/* oklch */ color: oklch(73.7% 0.154 314.2);
Tailwind
colors: {
  custom: {
    50: '#deadf3',
    500: '#cd8aed',
    950: '#000000',
  },
}
SCSS
$custom: #cd8aed;
$custom-light: #deadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8aed",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 280.606,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73696,
    "c": 0.15424,
    "h": 314.2
  },
  "luminance": 0.37271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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