#CB58E8#CB58E8

#CB58E8 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.2% C 0.225 H 319.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CB58E8
RGBrgb(203, 88, 232)
HSLhsl(288, 76%, 63%)
HSVhsv(288, 62%, 91%)
CMYKcmyk(12.5%, 62.1%, 0%, 9%)
CIE-LABlab(57.56, 65.81, -52.88)
CIE-LCHlch(57.56, 84.42, 321.21°)
OKLaboklab(66.25% 0.1701 -0.1477)
OKLCHoklch(66.25% 0.225 319)
XYZxyz(42.6819, 25.5040, 79.0028)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58E8 #75E858
analogous
#8358E8 #CB58E8 #E858BD
triadic
#CB58E8 #E8CB58 #58E8CB
tetradic
#CB58E8 #E88358 #75E858 #58BDE8
square
#CB58E8 #E88358 #75E858 #58BDE8
split-complementary
#CB58E8 #BDE858 #58E883
monochromatic
#9018AE #BA22E1 #CB58E8 #DC8EEF #ECC4F7

Accessibility & contrast

On white

3.44
#CB58E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CB58E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58E8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58E8#FFFFFF#000000##000000
##CB58E81.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83EC
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#CB7098
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb58e8;
/* rgb */ color: rgb(203, 88, 232);
/* oklch */ color: oklch(66.2% 0.225 319.0);
Tailwind
colors: {
  custom: {
    50: '#de8ef0',
    500: '#cb58e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb58e8;
$custom-light: #de8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58e8",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 287.917,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66245,
    "c": 0.22529,
    "h": 319
  },
  "luminance": 0.25502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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