#BB52B2#BB52B2

#BB52B2 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.178 H 330.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BB52B2
RGBrgb(187, 82, 178)
HSLhsl(305, 44%, 53%)
HSVhsv(305, 56%, 73%)
CMYKcmyk(0%, 56.1%, 4.8%, 26.7%)
CIE-LABlab(51.63, 54.68, -31.57)
CIE-LCHlch(51.63, 63.14, 330.00°)
OKLaboklab(60.58% 0.1553 -0.0864)
OKLCHoklch(60.58% 0.178 330.9)
XYZxyz(31.5465, 19.8158, 44.2741)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52B2 #52BB5B
analogous
#8F52BB #BB52B2 #BB527D
triadic
#BB52B2 #B2BB52 #52B2BB
tetradic
#BB52B2 #BB8F52 #52BB5B #527DBB
square
#BB52B2 #BB8F52 #52BB5B #527DBB
split-complementary
#BB52B2 #7DBB52 #52BB8F
monochromatic
#692964 #953B8D #BB52B2 #CC7EC6 #DEAAD9

Accessibility & contrast

On white

4.23
#BB52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BB52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52B2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52B2#FFFFFF#000000##000000
##BB52B21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#C25B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb52b2;
/* rgb */ color: rgb(187, 82, 178);
/* oklch */ color: oklch(60.6% 0.178 330.9);
Tailwind
colors: {
  custom: {
    50: '#d288c9',
    500: '#bb52b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb52b2;
$custom-light: #d288c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52b2",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 305.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60579,
    "c": 0.17776,
    "h": 330.9
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#BB52B2
secondary
#9ECBA2
accent
#D35F54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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