#CD58F8#CD58F8

#CD58F8 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.4% C 0.241 H 315.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CD58F8
RGBrgb(205, 88, 248)
HSLhsl(284, 92%, 66%)
HSVhsv(284, 65%, 97%)
CMYKcmyk(17.3%, 64.5%, 0%, 2.7%)
CIE-LABlab(58.73, 69.33, -59.92)
CIE-LCHlch(58.73, 91.63, 319.16°)
OKLaboklab(67.43% 0.1722 -0.1683)
OKLCHoklch(67.43% 0.241 315.7)
XYZxyz(45.6072, 26.7375, 91.5472)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58F8 #83F858
analogous
#7D58F8 #CD58F8 #F858D3
triadic
#CD58F8 #F8CD58 #58F8CD
tetradic
#CD58F8 #F87D58 #83F858 #58D3F8
square
#CD58F8 #F87D58 #83F858 #58D3F8
split-complementary
#CD58F8 #D3F858 #58F87D
monochromatic
#9809CD #BB1DF6 #CD58F8 #DF93FA #F0CDFD

Accessibility & contrast

On white

3.31
#CD58F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CD58F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58F8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58F8#FFFFFF#000000##000000
##CD58F81.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B86FD
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#CA76A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd58f8;
/* rgb */ color: rgb(205, 88, 248);
/* oklch */ color: oklch(67.4% 0.241 315.7);
Tailwind
colors: {
  custom: {
    50: '#e08ffb',
    500: '#cd58f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd58f8;
$custom-light: #e08ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58f8",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 248
  },
  "hsl": {
    "h": 283.875,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67433,
    "c": 0.24075,
    "h": 315.7
  },
  "luminance": 0.26736
}

Semantic roles & 50–950 ramp

primary
#CD58F8
secondary
#CAF0BB
accent
#E6003E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD58F8

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

Preview Lab → · Contrast checker → · Palette generator →

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