#BB52C5#BB52C5

#BB52C5 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.194 H 324.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BB52C5
RGBrgb(187, 82, 197)
HSLhsl(295, 50%, 55%)
HSVhsv(295, 58%, 77%)
CMYKcmyk(5.1%, 58.4%, 0%, 22.7%)
CIE-LABlab(52.54, 58.04, -41.13)
CIE-LCHlch(52.54, 71.14, 324.68°)
OKLaboklab(61.55% 0.1574 -0.1139)
OKLCHoklch(61.55% 0.194 324.1)
XYZxyz(33.5880, 20.6324, 55.0258)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52C5 #5CC552
analogous
#8252C5 #BB52C5 #C55295
triadic
#BB52C5 #C5BB52 #52C5BB
tetradic
#BB52C5 #C58252 #5CC552 #5295C5
square
#BB52C5 #C58252 #5CC552 #5295C5
split-complementary
#BB52C5 #95C552 #52C582
monochromatic
#6F2775 #9A37A3 #BB52C5 #CD80D4 #DFAEE4

Accessibility & contrast

On white

4.10
#BB52C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BB52C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52C5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52C5#FFFFFF#000000##000000
##BB52C51.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C9
Deuteranopia (green-blind)
#6482C2
Tritanopia (blue-blind)
#BE6284
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb52c5;
/* rgb */ color: rgb(187, 82, 197);
/* oklch */ color: oklch(61.5% 0.194 324.1);
Tailwind
colors: {
  custom: {
    50: '#d288d7',
    500: '#bb52c5',
    950: '#000000',
  },
}
SCSS
$custom: #bb52c5;
$custom-light: #d288d7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52c5",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 294.783,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.19432,
    "h": 324.1
  },
  "luminance": 0.20631
}

Semantic roles & 50–950 ramp

primary
#BB52C5
secondary
#A5D2A1
accent
#D94E5B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB52C5

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

Preview Lab → · Contrast checker → · Palette generator →

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