#CB52DC#CB52DC

#CB52DC is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.223 H 322.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CB52DC
RGBrgb(203, 82, 220)
HSLhsl(293, 66%, 59%)
HSVhsv(293, 63%, 86%)
CMYKcmyk(7.7%, 62.7%, 0%, 13.7%)
CIE-LABlab(55.99, 66.15, -48.64)
CIE-LCHlch(55.99, 82.11, 323.67°)
OKLaboklab(64.9% 0.1768 -0.1353)
OKLCHoklch(64.9% 0.223 322.6)
XYZxyz(40.5629, 23.9006, 70.1730)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52DC #63DC52
analogous
#8652DC #CB52DC #DC52A8
triadic
#CB52DC #DCCB52 #52DCCB
tetradic
#CB52DC #DC8652 #63DC52 #52A8DC
square
#CB52DC #DC8652 #63DC52 #52A8DC
split-complementary
#CB52DC #A8DC52 #52DC86
monochromatic
#871E95 #B529C8 #CB52DC #DA85E6 #EAB8F1

Accessibility & contrast

On white

3.63
#CB52DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CB52DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52DC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52DC#FFFFFF#000000##000000
##CB52DC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#658BD8
Tritanopia (blue-blind)
#CE6890
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb52dc;
/* rgb */ color: rgb(203, 82, 220);
/* oklch */ color: oklch(64.9% 0.223 322.6);
Tailwind
colors: {
  custom: {
    50: '#de8ae7',
    500: '#cb52dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb52dc;
$custom-light: #de8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52dc",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 292.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64896,
    "c": 0.22264,
    "h": 322.6
  },
  "luminance": 0.23898
}

Semantic roles & 50–950 ramp

primary
#CB52DC
secondary
#B1E0AA
accent
#E93F54
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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