#CD58E1#CD58E1

#CD58E1 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.1% C 0.220 H 321.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CD58E1
RGBrgb(205, 88, 225)
HSLhsl(291, 70%, 61%)
HSVhsv(291, 61%, 88%)
CMYKcmyk(8.9%, 60.9%, 0%, 11.8%)
CIE-LABlab(57.46, 64.97, -49.10)
CIE-LCHlch(57.46, 81.44, 322.92°)
OKLaboklab(66.11% 0.1722 -0.1367)
OKLCHoklch(66.11% 0.22 321.6)
XYZxyz(42.2557, 25.3969, 73.8959)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58E1 #6CE158
analogous
#8958E1 #CD58E1 #E158B1
triadic
#CD58E1 #E1CD58 #58E1CD
tetradic
#CD58E1 #E18958 #6CE158 #58B1E1
square
#CD58E1 #E18958 #6CE158 #58B1E1
split-complementary
#CD58E1 #B1E158 #58E189
monochromatic
#8E1DA2 #BC26D5 #CD58E1 #DD8CEA #ECC0F4

Accessibility & contrast

On white

3.45
#CD58E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CD58E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58E1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58E1#FFFFFF#000000##000000
##CD58E11.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3981E5
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#CF6D95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd58e1;
/* rgb */ color: rgb(205, 88, 225);
/* oklch */ color: oklch(66.1% 0.220 321.6);
Tailwind
colors: {
  custom: {
    50: '#df8eeb',
    500: '#cd58e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd58e1;
$custom-light: #df8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58e1",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 291.241,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66105,
    "c": 0.21987,
    "h": 321.6
  },
  "luminance": 0.25395
}

Semantic roles & 50–950 ramp

primary
#CD58E1
secondary
#B8E4B1
accent
#D21430
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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