#CB52D2#CB52D2

#CB52D2 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.4% C 0.214 H 325.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CB52D2
RGBrgb(203, 82, 210)
HSLhsl(297, 59%, 57%)
HSVhsv(297, 61%, 82%)
CMYKcmyk(3.3%, 61%, 0%, 17.6%)
CIE-LABlab(55.47, 64.37, -43.79)
CIE-LCHlch(55.47, 77.86, 325.77°)
OKLaboklab(64.35% 0.1764 -0.1213)
OKLCHoklch(64.35% 0.214 325.5)
XYZxyz(39.2779, 23.3866, 63.4055)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52D2 #59D252
analogous
#8B52D2 #CB52D2 #D25299
triadic
#CB52D2 #D2CB52 #52D2CB
tetradic
#CB52D2 #D28B52 #59D252 #5299D2
square
#CB52D2 #D28B52 #59D252 #5299D2
split-complementary
#CB52D2 #99D252 #52D28B
monochromatic
#812387 #B030B7 #CB52D2 #DA83DF #E8B3EB

Accessibility & contrast

On white

3.70
#CB52D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CB52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52D2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52D2#FFFFFF#000000##000000
##CB52D21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#6A8ACF
Tritanopia (blue-blind)
#D0648B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb52d2;
/* rgb */ color: rgb(203, 82, 210);
/* oklch */ color: oklch(64.4% 0.214 325.5);
Tailwind
colors: {
  custom: {
    50: '#de8ae0',
    500: '#cb52d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb52d2;
$custom-light: #de8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52d2",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 296.719,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.21403,
    "h": 325.5
  },
  "luminance": 0.23384
}

Semantic roles & 50–950 ramp

primary
#CB52D2
secondary
#A9DAA6
accent
#E2464E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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