#CB59CB#CB59CB

#CB59CB is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.8% C 0.198 H 327.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CB59CB
RGBrgb(203, 89, 203)
HSLhsl(300, 52%, 57%)
HSVhsv(300, 56%, 80%)
CMYKcmyk(0%, 56.2%, 0%, 20.4%)
CIE-LABlab(56.24, 60.09, -38.59)
CIE-LCHlch(56.24, 71.41, 327.29°)
OKLaboklab(64.8% 0.1672 -0.1063)
OKLCHoklch(64.8% 0.198 327.6)
XYZxyz(38.9799, 24.1554, 59.0977)
Luminance0.2415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB59CB #59CB59
analogous
#9259CB #CB59CB #CB5992
triadic
#CB59CB #CBCB59 #59CBCB
tetradic
#CB59CB #CB9259 #59CB59 #5992CB
square
#CB59CB #CB9259 #59CB59 #5992CB
split-complementary
#CB59CB #92CB59 #59CB92
monochromatic
#812881 #B037B0 #CB59CB #DA88DA #E8B6E8

Accessibility & contrast

On white

3.60
#CB59CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CB59CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB59CB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB59CB#FFFFFF#000000##000000
##CB59CB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCF
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#D1678A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb59cb;
/* rgb */ color: rgb(203, 89, 203);
/* oklch */ color: oklch(64.8% 0.198 327.6);
Tailwind
colors: {
  custom: {
    50: '#de8edb',
    500: '#cb59cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb59cb;
$custom-light: #de8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb59cb",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64804,
    "c": 0.19812,
    "h": 327.6
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#CB59CB
secondary
#A9D7A9
accent
#DC4C4C
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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