#CB59EF#CB59EF

#CB59EF is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.230 H 317.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CB59EF
RGBrgb(203, 89, 239)
HSLhsl(286, 82%, 64%)
HSVhsv(286, 63%, 94%)
CMYKcmyk(15.1%, 62.8%, 0%, 6.3%)
CIE-LABlab(58.11, 66.71, -55.93)
CIE-LCHlch(58.11, 87.05, 320.02°)
OKLaboklab(66.76% 0.1689 -0.1566)
OKLCHoklch(66.76% 0.23 317.2)
XYZxyz(43.7787, 26.0750, 84.3715)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB59EF #7DEF59
analogous
#8059EF #CB59EF #EF59C8
triadic
#CB59EF #EFCB59 #59EFCB
tetradic
#CB59EF #EF8059 #7DEF59 #59C8EF
square
#CB59EF #EF8059 #7DEF59 #59C8EF
split-complementary
#CB59EF #C8EF59 #59EF80
monochromatic
#9312BC #BA21EA #CB59EF #DC91F4 #EEC9FA

Accessibility & contrast

On white

3.38
#CB59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CB59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB59EF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB59EF#FFFFFF#000000##000000
##CB59EF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F4
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#CA749C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb59ef;
/* rgb */ color: rgb(203, 89, 239);
/* oklch */ color: oklch(66.8% 0.230 317.2);
Tailwind
colors: {
  custom: {
    50: '#de8ff5',
    500: '#cb59ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb59ef;
$custom-light: #de8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb59ef",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 285.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66764,
    "c": 0.23038,
    "h": 317.2
  },
  "luminance": 0.26073
}

Semantic roles & 50–950 ramp

primary
#CB59EF
secondary
#C4ECB8
accent
#DF073B
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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