#CD58F5#CD58F5

#CD58F5 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.3% C 0.238 H 316.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CD58F5
RGBrgb(205, 88, 245)
HSLhsl(285, 89%, 65%)
HSVhsv(285, 64%, 96%)
CMYKcmyk(16.3%, 64.1%, 0%, 3.9%)
CIE-LABlab(58.56, 68.75, -58.53)
CIE-LCHlch(58.56, 90.29, 319.59°)
OKLaboklab(67.25% 0.1723 -0.1642)
OKLCHoklch(67.25% 0.238 316.4)
XYZxyz(45.1455, 26.5529, 89.1156)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58F5 #80F558
analogous
#7E58F5 #CD58F5 #F558CF
triadic
#CD58F5 #F5CD58 #58F5CD
tetradic
#CD58F5 #F57E58 #80F558 #58CFF5
square
#CD58F5 #F57E58 #80F558 #58CFF5
split-complementary
#CD58F5 #CFF558 #58F57E
monochromatic
#970CC7 #BC1EF2 #CD58F5 #DE92F8 #F0CBFC

Accessibility & contrast

On white

3.33
#CD58F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CD58F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58F5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58F5#FFFFFF#000000##000000
##CD58F51.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1786FA
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#CB759F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd58f5;
/* rgb */ color: rgb(205, 88, 245);
/* oklch */ color: oklch(67.3% 0.238 316.4);
Tailwind
colors: {
  custom: {
    50: '#e08ef9',
    500: '#cd58f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd58f5;
$custom-light: #e08ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58f5",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 284.713,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67253,
    "c": 0.238,
    "h": 316.4
  },
  "luminance": 0.26551
}

Semantic roles & 50–950 ramp

primary
#CD58F5
secondary
#C7EFBA
accent
#E5003B
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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