#CB59EB#CB59EB

#CB59EB is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.5% C 0.227 H 318.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CB59EB
RGBrgb(203, 89, 235)
HSLhsl(287, 78%, 64%)
HSVhsv(287, 62%, 92%)
CMYKcmyk(13.6%, 62.1%, 0%, 7.8%)
CIE-LABlab(57.89, 65.94, -54.05)
CIE-LCHlch(57.89, 85.26, 320.66°)
OKLaboklab(66.53% 0.1689 -0.1512)
OKLCHoklch(66.53% 0.227 318.2)
XYZxyz(43.1943, 25.8412, 81.2937)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB59EB #79EB59
analogous
#8259EB #CB59EB #EB59C2
triadic
#CB59EB #EBCB59 #59EBCB
tetradic
#CB59EB #EB8259 #79EB59 #59C2EB
square
#CB59EB #EB8259 #79EB59 #59C2EB
split-complementary
#CB59EB #C2EB59 #59EB82
monochromatic
#9116B4 #BA22E4 #CB59EB #DC90F2 #EDC6F8

Accessibility & contrast

On white

3.40
#CB59EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CB59EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB59EB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB59EB#FFFFFF#000000##000000
##CB59EB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#CA729A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb59eb;
/* rgb */ color: rgb(203, 89, 235);
/* oklch */ color: oklch(66.5% 0.227 318.2);
Tailwind
colors: {
  custom: {
    50: '#de8ff2',
    500: '#cb59eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb59eb;
$custom-light: #de8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb59eb",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 286.849,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66532,
    "c": 0.22669,
    "h": 318.2
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#CB59EB
secondary
#C1EAB6
accent
#DB0B38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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