#CB52E1#CB52E1

#CB52E1 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.227 H 321.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CB52E1
RGBrgb(203, 82, 225)
HSLhsl(291, 70%, 60%)
HSVhsv(291, 64%, 88%)
CMYKcmyk(9.8%, 63.6%, 0%, 11.8%)
CIE-LABlab(56.26, 67.06, -51.03)
CIE-LCHlch(56.26, 84.27, 322.73°)
OKLaboklab(65.18% 0.1769 -0.1423)
OKLCHoklch(65.18% 0.227 321.2)
XYZxyz(41.2350, 24.1694, 73.7127)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52E1 #68E152
analogous
#8352E1 #CB52E1 #E152B0
triadic
#CB52E1 #E1CB52 #52E1CB
tetradic
#CB52E1 #E18352 #68E152 #52B0E1
square
#CB52E1 #E18352 #68E152 #52B0E1
split-complementary
#CB52E1 #B0E152 #52E183
monochromatic
#891B9D #B724D1 #CB52E1 #DB86EA #EABAF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB52E1#FFFFFF#000000##000000
##CB52E11.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)
#2C7EE5
Deuteranopia (green-blind)
#618BDD
Tritanopia (blue-blind)
#CD6A93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb52e1;
/* rgb */ color: rgb(203, 82, 225);
/* oklch */ color: oklch(65.2% 0.227 321.2);
Tailwind
colors: {
  custom: {
    50: '#de8aeb',
    500: '#cb52e1',
    950: '#000000',
  },
}
SCSS
$custom: #cb52e1;
$custom-light: #de8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52e1",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 290.769,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65178,
    "c": 0.22701,
    "h": 321.2
  },
  "luminance": 0.24167
}

Semantic roles & 50–950 ramp

primary
#CB52E1
secondary
#B4E3AC
accent
#D21330
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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