#CD5ACC#CD5ACC

#CD5ACC is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.2% C 0.199 H 327.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CD5ACC
RGBrgb(205, 90, 204)
HSLhsl(301, 53%, 58%)
HSVhsv(301, 56%, 80%)
CMYKcmyk(0%, 56.1%, 0.5%, 19.6%)
CIE-LABlab(56.74, 60.34, -38.36)
CIE-LCHlch(56.74, 71.50, 327.55°)
OKLaboklab(65.24% 0.1683 -0.1056)
OKLCHoklch(65.24% 0.199 327.9)
XYZxyz(39.7315, 24.6536, 59.7809)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ACC #5ACD5B
analogous
#955ACD #CD5ACC #CD5A92
triadic
#CD5ACC #CCCD5A #5ACCCD
tetradic
#CD5ACC #CD955A #5ACD5B #5A92CD
square
#CD5ACC #CD955A #5ACD5B #5A92CD
split-complementary
#CD5ACC #92CD5A #5ACD95
monochromatic
#842884 #B336B2 #CD5ACC #DB89DB #E9B8E9

Accessibility & contrast

On white

3.54
#CD5ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CD5ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ACC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ACC#FFFFFF#000000##000000
##CD5ACC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ED0
Deuteranopia (green-blind)
#748DC9
Tritanopia (blue-blind)
#D3678B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5acc;
/* rgb */ color: rgb(205, 90, 204);
/* oklch */ color: oklch(65.2% 0.199 327.9);
Tailwind
colors: {
  custom: {
    50: '#df8fdc',
    500: '#cd5acc',
    950: '#000000',
  },
}
SCSS
$custom: #cd5acc;
$custom-light: #df8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5acc",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 300.522,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65237,
    "c": 0.19866,
    "h": 327.9
  },
  "luminance": 0.24651
}

Semantic roles & 50–950 ramp

primary
#CD5ACC
secondary
#AAD8AB
accent
#DD4C4B
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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