#CB52C5#CB52C5

#CB52C5 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.7% C 0.203 H 329.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CB52C5
RGBrgb(203, 82, 197)
HSLhsl(303, 54%, 56%)
HSVhsv(303, 60%, 80%)
CMYKcmyk(0%, 59.6%, 3%, 20.4%)
CIE-LABlab(54.83, 62.15, -37.37)
CIE-LCHlch(54.83, 72.52, 328.98°)
OKLaboklab(63.68% 0.1753 -0.1027)
OKLCHoklch(63.68% 0.203 329.6)
XYZxyz(37.7236, 22.7649, 55.2196)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52C5 #52CB58
analogous
#9452CB #CB52C5 #CB5288
triadic
#CB52C5 #C5CB52 #52C5CB
tetradic
#CB52C5 #CB9452 #52CB58 #5288CB
square
#CB52C5 #CB9452 #52CB58 #5288CB
split-complementary
#CB52C5 #88CB52 #52CB94
monochromatic
#7D2679 #AC34A6 #CB52C5 #D981D5 #E7B0E5

Accessibility & contrast

On white

3.78
#CB52C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CB52C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52C5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52C5#FFFFFF#000000##000000
##CB52C51.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4879C9
Deuteranopia (green-blind)
#7189C2
Tritanopia (blue-blind)
#D25F84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb52c5;
/* rgb */ color: rgb(203, 82, 197);
/* oklch */ color: oklch(63.7% 0.203 329.6);
Tailwind
colors: {
  custom: {
    50: '#de8ad7',
    500: '#cb52c5',
    950: '#000000',
  },
}
SCSS
$custom: #cb52c5;
$custom-light: #de8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52c5",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 302.975,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63678,
    "c": 0.2032,
    "h": 329.6
  },
  "luminance": 0.22762
}

Semantic roles & 50–950 ramp

primary
#CB52C5
secondary
#A3D5A6
accent
#DD524B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CB52C5

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

Preview Lab → · Contrast checker → · Palette generator →

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