#CD58F1#CD58F1

#CD58F1 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.234 H 317.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CD58F1
RGBrgb(205, 88, 241)
HSLhsl(286, 85%, 65%)
HSVhsv(286, 63%, 95%)
CMYKcmyk(14.9%, 63.5%, 0%, 5.5%)
CIE-LABlab(58.33, 67.98, -56.67)
CIE-LCHlch(58.33, 88.50, 320.18°)
OKLaboklab(67.02% 0.1724 -0.1587)
OKLCHoklch(67.02% 0.234 317.4)
XYZxyz(44.5415, 26.3112, 85.9344)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58F1 #7CF158
analogous
#8058F1 #CD58F1 #F158C9
triadic
#CD58F1 #F1CD58 #58F1CD
tetradic
#CD58F1 #F18058 #7CF158 #58C9F1
square
#CD58F1 #F18058 #7CF158 #58C9F1
split-complementary
#CD58F1 #C9F158 #58F180
monochromatic
#9610BF #BC20EC #CD58F1 #DE90F6 #EFC9FA

Accessibility & contrast

On white

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

On black

6.26
#CD58F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58F1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58F1#FFFFFF#000000##000000
##CD58F11.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F6
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#CC739D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd58f1;
/* rgb */ color: rgb(205, 88, 241);
/* oklch */ color: oklch(67.0% 0.234 317.4);
Tailwind
colors: {
  custom: {
    50: '#e08ef6',
    500: '#cd58f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd58f1;
$custom-light: #e08ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58f1",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 285.882,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67017,
    "c": 0.23434,
    "h": 317.4
  },
  "luminance": 0.26309
}

Semantic roles & 50–950 ramp

primary
#CD58F1
secondary
#C4EDB8
accent
#E10538
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD58F1

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

Preview Lab → · Contrast checker → · Palette generator →

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