#CB52B7#CB52B7

#CB52B7 is a light, vivid purple. Relative luminance 0.222; OKLCH L 63.0% C 0.192 H 334.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CB52B7
RGBrgb(203, 82, 183)
HSLhsl(310, 54%, 56%)
HSVhsv(310, 60%, 80%)
CMYKcmyk(0%, 59.6%, 9.9%, 20.4%)
CIE-LABlab(54.19, 59.87, -30.31)
CIE-LCHlch(54.19, 67.11, 333.15°)
OKLaboklab(63% 0.1735 -0.0825)
OKLCHoklch(63% 0.192 334.6)
XYZxyz(36.1933, 22.1528, 47.1602)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52B7 #52CB66
analogous
#A252CB #CB52B7 #CB527A
triadic
#CB52B7 #B7CB52 #52B7CB
tetradic
#CB52B7 #CBA252 #52CB66 #527ACB
square
#CB52B7 #CBA252 #52CB66 #527ACB
split-complementary
#CB52B7 #7ACB52 #52CBA2
monochromatic
#7D266F #AC3498 #CB52B7 #D981CB #E7B0DE

Accessibility & contrast

On white

3.87
#CB52B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CB52B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52B7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52B7#FFFFFF#000000##000000
##CB52B71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#7788B4
Tritanopia (blue-blind)
#D45A7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb52b7;
/* rgb */ color: rgb(203, 82, 183);
/* oklch */ color: oklch(63.0% 0.192 334.6);
Tailwind
colors: {
  custom: {
    50: '#de89cd',
    500: '#cb52b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb52b7;
$custom-light: #de89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52b7",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 309.917,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63001,
    "c": 0.19213,
    "h": 334.6
  },
  "luminance": 0.2215
}

Semantic roles & 50–950 ramp

primary
#CB52B7
secondary
#A3D5AC
accent
#DD634B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB52B7

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

Preview Lab → · Contrast checker → · Palette generator →

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