#CB59E8#CB59E8

#CB59E8 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.4% C 0.224 H 319.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CB59E8
RGBrgb(203, 89, 232)
HSLhsl(288, 76%, 63%)
HSVhsv(288, 62%, 91%)
CMYKcmyk(12.5%, 61.6%, 0%, 9%)
CIE-LABlab(57.72, 65.37, -52.63)
CIE-LCHlch(57.72, 83.92, 321.16°)
OKLaboklab(66.36% 0.1689 -0.147)
OKLCHoklch(66.36% 0.224 319)
XYZxyz(42.7646, 25.6693, 79.0303)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB59E8 #76E859
analogous
#8359E8 #CB59E8 #E859BD
triadic
#CB59E8 #E8CB59 #59E8CB
tetradic
#CB59E8 #E88359 #76E859 #59BDE8
square
#CB59E8 #E88359 #76E859 #59BDE8
split-complementary
#CB59E8 #BDE859 #59E883
monochromatic
#9018AE #BA23E1 #CB59E8 #DC8FEF #EDC5F7

Accessibility & contrast

On white

3.42
#CB59E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CB59E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB59E8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB59E8#FFFFFF#000000##000000
##CB59E81.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#628FE4
Tritanopia (blue-blind)
#CB7199
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb59e8;
/* rgb */ color: rgb(203, 89, 232);
/* oklch */ color: oklch(66.4% 0.224 319.0);
Tailwind
colors: {
  custom: {
    50: '#de8ff0',
    500: '#cb59e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb59e8;
$custom-light: #de8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb59e8",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 287.832,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6636,
    "c": 0.22394,
    "h": 319
  },
  "luminance": 0.25667
}

Semantic roles & 50–950 ramp

primary
#CB59E8
secondary
#BFE8B5
accent
#D80E37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB59E8

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

Preview Lab → · Contrast checker → · Palette generator →

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