#CD58E9#CD58E9

#CD58E9 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.227 H 319.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CD58E9
RGBrgb(205, 88, 233)
HSLhsl(288, 77%, 63%)
HSVhsv(288, 62%, 91%)
CMYKcmyk(12%, 62.2%, 0%, 8.6%)
CIE-LABlab(57.89, 66.46, -52.91)
CIE-LCHlch(57.89, 84.95, 321.48°)
OKLaboklab(66.55% 0.1724 -0.1478)
OKLCHoklch(66.55% 0.227 319.4)
XYZxyz(43.3727, 25.8437, 79.7787)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58E9 #74E958
analogous
#8458E9 #CD58E9 #E958BC
triadic
#CD58E9 #E9CD58 #58E9CD
tetradic
#CD58E9 #E98458 #74E958 #58BCE9
square
#CD58E9 #E98458 #74E958 #58BCE9
split-complementary
#CD58E9 #BCE958 #58E984
monochromatic
#9217AF #BD22E2 #CD58E9 #DD8EF0 #EDC4F7

Accessibility & contrast

On white

3.40
#CD58E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CD58E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58E9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58E9#FFFFFF#000000##000000
##CD58E91.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83ED
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#CD7099
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd58e9;
/* rgb */ color: rgb(205, 88, 233);
/* oklch */ color: oklch(66.6% 0.227 319.4);
Tailwind
colors: {
  custom: {
    50: '#e08ef1',
    500: '#cd58e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd58e9;
$custom-light: #e08ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58e9",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 288.414,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66554,
    "c": 0.22706,
    "h": 319.4
  },
  "luminance": 0.25842
}

Semantic roles & 50–950 ramp

primary
#CD58E9
secondary
#BEE8B4
accent
#D90D34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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