#CD5AC2#CD5AC2

#CD5AC2 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.8% C 0.190 H 331.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CD5AC2
RGBrgb(205, 90, 194)
HSLhsl(306, 53%, 58%)
HSVhsv(306, 56%, 80%)
CMYKcmyk(0%, 56.1%, 5.4%, 19.6%)
CIE-LABlab(56.28, 58.64, -33.37)
CIE-LCHlch(56.28, 67.47, 330.36°)
OKLaboklab(64.75% 0.167 -0.0912)
OKLCHoklch(64.75% 0.19 331.3)
XYZxyz(38.5704, 24.1891, 53.6659)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AC2 #5ACD65
analogous
#9E5ACD #CD5AC2 #CD5A88
triadic
#CD5AC2 #C2CD5A #5AC2CD
tetradic
#CD5AC2 #CD9E5A #5ACD65 #5A88CD
square
#CD5AC2 #CD9E5A #5ACD65 #5A88CD
split-complementary
#CD5AC2 #88CD5A #5ACD9E
monochromatic
#84287C #B336A7 #CD5AC2 #DB89D3 #E9B8E5

Accessibility & contrast

On white

3.60
#CD5AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CD5AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AC2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AC2#FFFFFF#000000##000000
##CD5AC21.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC5
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#D56486
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5ac2;
/* rgb */ color: rgb(205, 90, 194);
/* oklch */ color: oklch(64.8% 0.190 331.3);
Tailwind
colors: {
  custom: {
    50: '#df8ed5',
    500: '#cd5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ac2;
$custom-light: #df8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ac2",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 305.739,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6475,
    "c": 0.1903,
    "h": 331.3
  },
  "luminance": 0.24187
}

Semantic roles & 50–950 ramp

primary
#CD5AC2
secondary
#AAD8AF
accent
#DD594B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CD5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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