#CD58F2#CD58F2

#CD58F2 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.235 H 317.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CD58F2
RGBrgb(205, 88, 242)
HSLhsl(286, 86%, 65%)
HSVhsv(286, 64%, 95%)
CMYKcmyk(15.3%, 63.6%, 0%, 5.1%)
CIE-LABlab(58.39, 68.17, -57.14)
CIE-LCHlch(58.39, 88.95, 320.03°)
OKLaboklab(67.08% 0.1724 -0.1601)
OKLCHoklch(67.08% 0.235 317.1)
XYZxyz(44.6912, 26.3712, 86.7232)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58F2 #7DF258
analogous
#8058F2 #CD58F2 #F258CA
triadic
#CD58F2 #F2CD58 #58F2CD
tetradic
#CD58F2 #F28058 #7DF258 #58CAF2
square
#CD58F2 #F28058 #7DF258 #58CAF2
split-complementary
#CD58F2 #CAF258 #58F280
monochromatic
#960FC1 #BC1FEE #CD58F2 #DE91F6 #EFCAFB

Accessibility & contrast

On white

3.35
#CD58F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CD58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58F2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58F2#FFFFFF#000000##000000
##CD58F21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F7
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#CB749E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd58f2;
/* rgb */ color: rgb(205, 88, 242);
/* oklch */ color: oklch(67.1% 0.235 317.1);
Tailwind
colors: {
  custom: {
    50: '#e08ef7',
    500: '#cd58f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd58f2;
$custom-light: #e08ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58f2",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 285.584,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67076,
    "c": 0.23525,
    "h": 317.1
  },
  "luminance": 0.26369
}

Semantic roles & 50–950 ramp

primary
#CD58F2
secondary
#C5EDB8
accent
#E20339
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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