#CB52D5#CB52D5

#CB52D5 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.217 H 324.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CB52D5
RGBrgb(203, 82, 213)
HSLhsl(295, 61%, 58%)
HSVhsv(295, 62%, 84%)
CMYKcmyk(4.7%, 61.5%, 0%, 16.5%)
CIE-LABlab(55.62, 64.90, -45.25)
CIE-LCHlch(55.62, 79.12, 325.11°)
OKLaboklab(64.51% 0.1765 -0.1255)
OKLCHoklch(64.51% 0.217 324.6)
XYZxyz(39.6551, 23.5375, 65.3923)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52D5 #5CD552
analogous
#8952D5 #CB52D5 #D5529D
triadic
#CB52D5 #D5CB52 #52D5CB
tetradic
#CB52D5 #D58952 #5CD552 #529DD5
square
#CB52D5 #D58952 #5CD552 #529DD5
split-complementary
#CB52D5 #9DD552 #52D589
monochromatic
#83228B #B12EBC #CB52D5 #DA83E1 #E9B4ED

Accessibility & contrast

On white

3.68
#CB52D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CB52D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52D5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52D5#FFFFFF#000000##000000
##CB52D51.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CD9
Deuteranopia (green-blind)
#698AD2
Tritanopia (blue-blind)
#CF658C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb52d5;
/* rgb */ color: rgb(203, 82, 213);
/* oklch */ color: oklch(64.5% 0.217 324.6);
Tailwind
colors: {
  custom: {
    50: '#de8ae2',
    500: '#cb52d5',
    950: '#000000',
  },
}
SCSS
$custom: #cb52d5;
$custom-light: #de8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52d5",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 295.42,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.21659,
    "h": 324.6
  },
  "luminance": 0.23535
}

Semantic roles & 50–950 ramp

primary
#CB52D5
secondary
#ABDCA7
accent
#E44450
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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