#CB52E5#CB52E5

#CB52E5 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.231 H 320.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CB52E5
RGBrgb(203, 82, 229)
HSLhsl(289, 74%, 61%)
HSVhsv(289, 64%, 90%)
CMYKcmyk(11.4%, 64.2%, 0%, 10.2%)
CIE-LABlab(56.48, 67.80, -52.93)
CIE-LCHlch(56.48, 86.01, 322.02°)
OKLaboklab(65.41% 0.1769 -0.1478)
OKLCHoklch(65.41% 0.231 320.1)
XYZxyz(41.7870, 24.3902, 76.6202)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52E5 #6CE552
analogous
#8152E5 #CB52E5 #E552B5
triadic
#CB52E5 #E5CB52 #52E5CB
tetradic
#CB52E5 #E58152 #6CE552 #52B5E5
square
#CB52E5 #E58152 #6CE552 #52B5E5
split-complementary
#CB52E5 #B5E552 #52E581
monochromatic
#8B19A4 #B921D9 #CB52E5 #DB87ED #EBBCF5

Accessibility & contrast

On white

3.57
#CB52E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CB52E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52E5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52E5#FFFFFF#000000##000000
##CB52E51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#5F8CE1
Tritanopia (blue-blind)
#CC6B95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb52e5;
/* rgb */ color: rgb(203, 82, 229);
/* oklch */ color: oklch(65.4% 0.231 320.1);
Tailwind
colors: {
  custom: {
    50: '#de8bee',
    500: '#cb52e5',
    950: '#000000',
  },
}
SCSS
$custom: #cb52e5;
$custom-light: #de8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52e5",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 289.388,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65407,
    "c": 0.23052,
    "h": 320.1
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#CB52E5
secondary
#B7E5AE
accent
#D61033
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB52E5

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

Preview Lab → · Contrast checker → · Palette generator →

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