#BB52CA#BB52CA

#BB52CA is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.199 H 322.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB52CA
RGBrgb(187, 82, 202)
HSLhsl(293, 53%, 56%)
HSVhsv(293, 59%, 79%)
CMYKcmyk(7.4%, 59.4%, 0%, 20.8%)
CIE-LABlab(52.80, 58.97, -43.59)
CIE-LCHlch(52.80, 73.33, 323.53°)
OKLaboklab(61.82% 0.1578 -0.1211)
OKLCHoklch(61.82% 0.199 322.5)
XYZxyz(34.1704, 20.8654, 58.0932)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52CA #61CA52
analogous
#7F52CA #BB52CA #CA529D
triadic
#BB52CA #CABB52 #52CABB
tetradic
#BB52CA #CA7F52 #61CA52 #529DCA
square
#BB52CA #CA7F52 #61CA52 #529DCA
split-complementary
#BB52CA #9DCA52 #52CA7F
monochromatic
#71267C #9C34AB #BB52CA #CD81D8 #E0B0E7

Accessibility & contrast

On white

4.06
#BB52CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BB52CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52CA#FFFFFF#000000##000000
##BB52CA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#BD6486
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb52ca;
/* rgb */ color: rgb(187, 82, 202);
/* oklch */ color: oklch(61.8% 0.199 322.5);
Tailwind
colors: {
  custom: {
    50: '#d288da',
    500: '#bb52ca',
    950: '#000000',
  },
}
SCSS
$custom: #bb52ca;
$custom-light: #d288da;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52ca",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 292.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.19886,
    "h": 322.5
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#BB52CA
secondary
#A9D5A3
accent
#DD4B5D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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