#BB52C1#BB52C1

#BB52C1 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.191 H 325.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BB52C1
RGBrgb(187, 82, 193)
HSLhsl(297, 47%, 54%)
HSVhsv(297, 58%, 76%)
CMYKcmyk(3.1%, 57.5%, 0%, 24.3%)
CIE-LABlab(52.34, 57.32, -39.14)
CIE-LCHlch(52.34, 69.41, 325.67°)
OKLaboklab(61.34% 0.1571 -0.1082)
OKLCHoklch(61.34% 0.191 325.5)
XYZxyz(33.1357, 20.4515, 52.6439)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52C1 #58C152
analogous
#8452C1 #BB52C1 #C15290
triadic
#BB52C1 #C1BB52 #52C1BB
tetradic
#BB52C1 #C18452 #58C152 #5290C1
square
#BB52C1 #C18452 #58C152 #5290C1
split-complementary
#BB52C1 #90C152 #52C184
monochromatic
#6C2870 #98389D #BB52C1 #CD7FD1 #DEACE1

Accessibility & contrast

On white

4.13
#BB52C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BB52C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52C1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52C1#FFFFFF#000000##000000
##BB52C11.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C4
Deuteranopia (green-blind)
#6681BE
Tritanopia (blue-blind)
#BF6182
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb52c1;
/* rgb */ color: rgb(187, 82, 193);
/* oklch */ color: oklch(61.3% 0.191 325.5);
Tailwind
colors: {
  custom: {
    50: '#d288d4',
    500: '#bb52c1',
    950: '#000000',
  },
}
SCSS
$custom: #bb52c1;
$custom-light: #d288d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52c1",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 296.757,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61337,
    "c": 0.19074,
    "h": 325.5
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

primary
#BB52C1
secondary
#A2CFA0
accent
#D75158
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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