#CB52BF#CB52BF

#CB52BF is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.4% C 0.198 H 331.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CB52BF
RGBrgb(203, 82, 191)
HSLhsl(306, 54%, 56%)
HSVhsv(306, 60%, 80%)
CMYKcmyk(0%, 59.6%, 5.9%, 20.4%)
CIE-LABlab(54.55, 61.16, -34.36)
CIE-LCHlch(54.55, 70.15, 330.67°)
OKLaboklab(63.38% 0.1746 -0.0941)
OKLCHoklch(63.38% 0.198 331.7)
XYZxyz(37.0498, 22.4953, 51.6707)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52BF #52CB5E
analogous
#9A52CB #CB52BF #CB5282
triadic
#CB52BF #BFCB52 #52BFCB
tetradic
#CB52BF #CB9A52 #52CB5E #5282CB
square
#CB52BF #CB9A52 #52CB5E #5282CB
split-complementary
#CB52BF #82CB52 #52CB9A
monochromatic
#7D2674 #AC34A0 #CB52BF #D981D0 #E7B0E2

Accessibility & contrast

On white

3.82
#CB52BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CB52BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52BF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52BF#FFFFFF#000000##000000
##CB52BF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C2
Deuteranopia (green-blind)
#7489BC
Tritanopia (blue-blind)
#D35D81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb52bf;
/* rgb */ color: rgb(203, 82, 191);
/* oklch */ color: oklch(63.4% 0.198 331.7);
Tailwind
colors: {
  custom: {
    50: '#de8ad2',
    500: '#cb52bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb52bf;
$custom-light: #de8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52bf",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 305.95,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63382,
    "c": 0.19836,
    "h": 331.7
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#CB52BF
secondary
#A3D5A8
accent
#DD594B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #CB52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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