#CD5AC4#CD5AC4

#CD5AC4 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.8% C 0.192 H 330.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CD5AC4
RGBrgb(205, 90, 196)
HSLhsl(305, 53%, 58%)
HSVhsv(305, 56%, 80%)
CMYKcmyk(0%, 56.1%, 4.4%, 19.6%)
CIE-LABlab(56.37, 58.97, -34.37)
CIE-LCHlch(56.37, 68.26, 329.76°)
OKLaboklab(64.85% 0.1673 -0.0941)
OKLCHoklch(64.85% 0.192 330.6)
XYZxyz(38.7966, 24.2796, 54.8568)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AC4 #5ACD63
analogous
#9D5ACD #CD5AC4 #CD5A8A
triadic
#CD5AC4 #C4CD5A #5AC4CD
tetradic
#CD5AC4 #CD9D5A #5ACD63 #5A8ACD
square
#CD5AC4 #CD9D5A #5ACD63 #5A8ACD
split-complementary
#CD5AC4 #8ACD5A #5ACD9D
monochromatic
#84287D #B336AA #CD5AC4 #DB89D5 #E9B8E6

Accessibility & contrast

On white

3.59
#CD5AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CD5AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AC4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AC4#FFFFFF#000000##000000
##CD5AC41.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC7
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#D46487
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5ac4;
/* rgb */ color: rgb(205, 90, 196);
/* oklch */ color: oklch(64.8% 0.192 330.6);
Tailwind
colors: {
  custom: {
    50: '#df8ed6',
    500: '#cd5ac4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ac4;
$custom-light: #df8ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ac4",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 196
  },
  "hsl": {
    "h": 304.696,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64846,
    "c": 0.19194,
    "h": 330.6
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#CD5AC4
secondary
#AAD8AE
accent
#DD564B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CD5AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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