#CB58E7#CB58E7

#CB58E7 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.224 H 319.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CB58E7
RGBrgb(203, 88, 231)
HSLhsl(288, 75%, 63%)
HSVhsv(288, 62%, 91%)
CMYKcmyk(12.1%, 61.9%, 0%, 9.4%)
CIE-LABlab(57.51, 65.62, -52.41)
CIE-LCHlch(57.51, 83.98, 321.38°)
OKLaboklab(66.19% 0.1701 -0.1464)
OKLCHoklch(66.19% 0.224 319.3)
XYZxyz(42.5403, 25.4474, 78.2568)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58E7 #74E758
analogous
#8458E7 #CB58E7 #E758BB
triadic
#CB58E7 #E7CB58 #58E7CB
tetradic
#CB58E7 #E78458 #74E758 #58BBE7
square
#CB58E7 #E78458 #74E758 #58BBE7
split-complementary
#CB58E7 #BBE758 #58E784
monochromatic
#8F19AC #BA22DF #CB58E7 #DC8EEF #ECC3F6

Accessibility & contrast

On white

3.45
#CB58E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CB58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58E7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58E7#FFFFFF#000000##000000
##CB58E71.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#CB7098
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb58e7;
/* rgb */ color: rgb(203, 88, 231);
/* oklch */ color: oklch(66.2% 0.224 319.3);
Tailwind
colors: {
  custom: {
    50: '#de8eef',
    500: '#cb58e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb58e7;
$custom-light: #de8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58e7",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 288.252,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66188,
    "c": 0.22438,
    "h": 319.3
  },
  "luminance": 0.25445
}

Semantic roles & 50–950 ramp

primary
#CB58E7
secondary
#BEE7B3
accent
#D70E36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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