#CB52E9#CB52E9

#CB52E9 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.6% C 0.234 H 319.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CB52E9
RGBrgb(203, 82, 233)
HSLhsl(288, 77%, 62%)
HSVhsv(288, 65%, 91%)
CMYKcmyk(12.9%, 64.8%, 0%, 8.6%)
CIE-LABlab(56.70, 68.54, -54.82)
CIE-LCHlch(56.70, 87.77, 321.34°)
OKLaboklab(65.64% 0.1768 -0.1534)
OKLCHoklch(65.64% 0.234 319.1)
XYZxyz(42.3519, 24.6162, 79.5955)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52E9 #70E952
analogous
#7F52E9 #CB52E9 #E952BC
triadic
#CB52E9 #E9CB52 #52E9CB
tetradic
#CB52E9 #E97F52 #70E952 #52BCE9
square
#CB52E9 #E97F52 #70E952 #52BCE9
split-complementary
#CB52E9 #BCE952 #52E97F
monochromatic
#8D16AB #BA1DE1 #CB52E9 #DB88F0 #ECBFF7

Accessibility & contrast

On white

3.55
#CB52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CB52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52E9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52E9#FFFFFF#000000##000000
##CB52E91.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80ED
Deuteranopia (green-blind)
#5C8CE5
Tritanopia (blue-blind)
#CB6D97
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb52e9;
/* rgb */ color: rgb(203, 82, 233);
/* oklch */ color: oklch(65.6% 0.234 319.1);
Tailwind
colors: {
  custom: {
    50: '#de8bf1',
    500: '#cb52e9',
    950: '#000000',
  },
}
SCSS
$custom: #cb52e9;
$custom-light: #de8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52e9",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 288.079,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65639,
    "c": 0.23407,
    "h": 319.1
  },
  "luminance": 0.24614
}

Semantic roles & 50–950 ramp

primary
#CB52E9
secondary
#BBE7AF
accent
#DA0C35
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #CB52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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