#CB52BD#CB52BD

#CB52BD is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.3% C 0.197 H 332.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CB52BD
RGBrgb(203, 82, 189)
HSLhsl(307, 54%, 56%)
HSVhsv(307, 60%, 80%)
CMYKcmyk(0%, 59.6%, 6.9%, 20.4%)
CIE-LABlab(54.46, 60.83, -33.35)
CIE-LCHlch(54.46, 69.38, 331.26°)
OKLaboklab(63.29% 0.1744 -0.0912)
OKLCHoklch(63.29% 0.197 332.4)
XYZxyz(36.8312, 22.4079, 50.5195)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52BD #52CB60
analogous
#9C52CB #CB52BD #CB5280
triadic
#CB52BD #BDCB52 #52BDCB
tetradic
#CB52BD #CB9C52 #52CB60 #5280CB
square
#CB52BD #CB9C52 #52CB60 #5280CB
split-complementary
#CB52BD #80CB52 #52CB9C
monochromatic
#7D2673 #AC349E #CB52BD #D981CF #E7B0E1

Accessibility & contrast

On white

3.83
#CB52BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CB52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52BD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52BD#FFFFFF#000000##000000
##CB52BD1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#7488BA
Tritanopia (blue-blind)
#D35C80
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb52bd;
/* rgb */ color: rgb(203, 82, 189);
/* oklch */ color: oklch(63.3% 0.197 332.4);
Tailwind
colors: {
  custom: {
    50: '#de8ad1',
    500: '#cb52bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb52bd;
$custom-light: #de8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52bd",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 306.942,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.19678,
    "h": 332.4
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

primary
#CB52BD
secondary
#A3D5A9
accent
#DD5C4B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #CB52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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