#CB52C2#CB52C2

#CB52C2 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.5% C 0.201 H 330.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CB52C2
RGBrgb(203, 82, 194)
HSLhsl(304, 54%, 56%)
HSVhsv(304, 60%, 80%)
CMYKcmyk(0%, 59.6%, 4.4%, 20.4%)
CIE-LABlab(54.69, 61.65, -35.87)
CIE-LCHlch(54.69, 71.33, 329.81°)
OKLaboklab(63.53% 0.175 -0.0984)
OKLCHoklch(63.53% 0.201 330.6)
XYZxyz(37.3833, 22.6287, 53.4273)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52C2 #52CB5B
analogous
#9752CB #CB52C2 #CB5285
triadic
#CB52C2 #C2CB52 #52C2CB
tetradic
#CB52C2 #CB9752 #52CB5B #5285CB
square
#CB52C2 #CB9752 #52CB5B #5285CB
split-complementary
#CB52C2 #85CB52 #52CB97
monochromatic
#7D2677 #AC34A3 #CB52C2 #D981D3 #E7B0E3

Accessibility & contrast

On white

3.80
#CB52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CB52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52C2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52C2#FFFFFF#000000##000000
##CB52C21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#7289BF
Tritanopia (blue-blind)
#D25E83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb52c2;
/* rgb */ color: rgb(203, 82, 194);
/* oklch */ color: oklch(63.5% 0.201 330.6);
Tailwind
colors: {
  custom: {
    50: '#de8ad5',
    500: '#cb52c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb52c2;
$custom-light: #de8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52c2",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 304.463,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63529,
    "c": 0.20076,
    "h": 330.6
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#CB52C2
secondary
#A3D5A7
accent
#DD564B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CB52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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