#CD5AC5#CD5AC5

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

Color values

HEX#CD5AC5
RGBrgb(205, 90, 197)
HSLhsl(304, 53%, 58%)
HSVhsv(304, 56%, 80%)
CMYKcmyk(0%, 56.1%, 3.9%, 19.6%)
CIE-LABlab(56.41, 59.14, -34.87)
CIE-LCHlch(56.41, 68.66, 329.47°)
OKLaboklab(64.89% 0.1674 -0.0956)
OKLCHoklch(64.89% 0.193 330.3)
XYZxyz(38.9108, 24.3252, 55.4583)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AC5 #5ACD62
analogous
#9B5ACD #CD5AC5 #CD5A8B
triadic
#CD5AC5 #C5CD5A #5AC5CD
tetradic
#CD5AC5 #CD9B5A #5ACD62 #5A8BCD
square
#CD5AC5 #CD9B5A #5ACD62 #5A8BCD
split-complementary
#CD5AC5 #8BCD5A #5ACD9B
monochromatic
#84287E #B336AB #CD5AC5 #DB89D6 #E9B8E6

Accessibility & contrast

On white

3.58
#CD5AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5AC5#FFFFFF#000000##000000
##CD5AC51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC8
Deuteranopia (green-blind)
#778DC2
Tritanopia (blue-blind)
#D46587
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5ac5;
/* rgb */ color: rgb(205, 90, 197);
/* oklch */ color: oklch(64.9% 0.193 330.3);
Tailwind
colors: {
  custom: {
    50: '#df8ed7',
    500: '#cd5ac5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ac5;
$custom-light: #df8ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ac5",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 304.174,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.19277,
    "h": 330.3
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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