#CD58C2#CD58C2

#CD58C2 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.5% C 0.193 H 331.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CD58C2
RGBrgb(205, 88, 194)
HSLhsl(306, 54%, 57%)
HSVhsv(306, 57%, 80%)
CMYKcmyk(0%, 57.1%, 5.4%, 19.6%)
CIE-LABlab(55.94, 59.54, -33.89)
CIE-LCHlch(55.94, 68.51, 330.35°)
OKLaboklab(64.51% 0.1696 -0.0927)
OKLCHoklch(64.51% 0.193 331.3)
XYZxyz(38.4040, 23.8563, 53.6104)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58C2 #58CD63
analogous
#9D58CD #CD58C2 #CD5888
triadic
#CD58C2 #C2CD58 #58C2CD
tetradic
#CD58C2 #CD9D58 #58CD63 #5888CD
square
#CD58C2 #CD9D58 #58CD63 #5888CD
split-complementary
#CD58C2 #88CD58 #58CD9D
monochromatic
#83277B #B235A7 #CD58C2 #DB87D3 #E9B6E4

Accessibility & contrast

On white

3.64
#CD58C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CD58C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58C2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58C2#FFFFFF#000000##000000
##CD58C21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#D56285
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd58c2;
/* rgb */ color: rgb(205, 88, 194);
/* oklch */ color: oklch(64.5% 0.193 331.3);
Tailwind
colors: {
  custom: {
    50: '#df8dd5',
    500: '#cd58c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd58c2;
$custom-light: #df8dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58c2",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 305.641,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64506,
    "c": 0.19327,
    "h": 331.3
  },
  "luminance": 0.23854
}

Semantic roles & 50–950 ramp

primary
#CD58C2
secondary
#A9D8AD
accent
#DD584B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CD58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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