#CD5AEC#CD5AEC

#CD5AEC is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.227 H 318.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CD5AEC
RGBrgb(205, 90, 236)
HSLhsl(287, 79%, 64%)
HSVhsv(287, 62%, 93%)
CMYKcmyk(13.1%, 61.9%, 0%, 7.5%)
CIE-LABlab(58.37, 66.16, -53.82)
CIE-LCHlch(58.37, 85.29, 320.87°)
OKLaboklab(66.95% 0.1701 -0.1504)
OKLCHoklch(66.95% 0.227 318.5)
XYZxyz(43.9713, 26.3495, 82.1104)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AEC #79EC5A
analogous
#845AEC #CD5AEC #EC5AC2
triadic
#CD5AEC #ECCD5A #5AECCD
tetradic
#CD5AEC #EC845A #79EC5A #5AC2EC
square
#CD5AEC #EC845A #79EC5A #5AC2EC
split-complementary
#CD5AEC #C2EC5A #5AEC84
monochromatic
#9415B7 #BC23E6 #CD5AEC #DE91F2 #EEC8F9

Accessibility & contrast

On white

3.35
#CD5AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CD5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AEC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AEC#FFFFFF#000000##000000
##CD5AEC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#CD739B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5aec;
/* rgb */ color: rgb(205, 90, 236);
/* oklch */ color: oklch(67.0% 0.227 318.5);
Tailwind
colors: {
  custom: {
    50: '#e08ff3',
    500: '#cd5aec',
    950: '#000000',
  },
}
SCSS
$custom: #cd5aec;
$custom-light: #e08ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5aec",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 287.26,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66954,
    "c": 0.2271,
    "h": 318.5
  },
  "luminance": 0.26348
}

Semantic roles & 50–950 ramp

primary
#CD5AEC
secondary
#C2EBB7
accent
#DC0A36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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