#BB52C2#BB52C2

#BB52C2 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.192 H 325.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB52C2
RGBrgb(187, 82, 194)
HSLhsl(296, 48%, 54%)
HSVhsv(296, 58%, 76%)
CMYKcmyk(3.6%, 57.7%, 0%, 23.9%)
CIE-LABlab(52.39, 57.50, -39.64)
CIE-LCHlch(52.39, 69.84, 325.42°)
OKLaboklab(61.39% 0.1572 -0.1096)
OKLCHoklch(61.39% 0.192 325.1)
XYZxyz(33.2476, 20.4963, 53.2334)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52C2 #59C252
analogous
#8352C2 #BB52C2 #C25291
triadic
#BB52C2 #C2BB52 #52C2BB
tetradic
#BB52C2 #C28352 #59C252 #5291C2
square
#BB52C2 #C28352 #59C252 #5291C2
split-complementary
#BB52C2 #91C252 #52C283
monochromatic
#6D2872 #98389F #BB52C2 #CD7FD2 #DFACE2

Accessibility & contrast

On white

4.12
#BB52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BB52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52C2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52C2#FFFFFF#000000##000000
##BB52C21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#6682BF
Tritanopia (blue-blind)
#BF6182
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb52c2;
/* rgb */ color: rgb(187, 82, 194);
/* oklch */ color: oklch(61.4% 0.192 325.1);
Tailwind
colors: {
  custom: {
    50: '#d288d5',
    500: '#bb52c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb52c2;
$custom-light: #d288d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52c2",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 296.25,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61389,
    "c": 0.19163,
    "h": 325.1
  },
  "luminance": 0.20494
}

Semantic roles & 50–950 ramp

primary
#BB52C2
secondary
#A3D0A0
accent
#D75059
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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