#BB51BA#BB51BA

#BB51BA is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.186 H 327.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB51BA
RGBrgb(187, 81, 186)
HSLhsl(301, 44%, 53%)
HSVhsv(301, 57%, 73%)
CMYKcmyk(0%, 56.7%, 0.5%, 26.7%)
CIE-LABlab(51.83, 56.53, -35.90)
CIE-LCHlch(51.83, 66.96, 327.58°)
OKLaboklab(60.85% 0.1577 -0.0988)
OKLCHoklch(60.85% 0.186 327.9)
XYZxyz(32.2984, 19.9968, 48.6034)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51BA #51BB52
analogous
#8751BB #BB51BA #BB5185
triadic
#BB51BA #BABB51 #51BABB
tetradic
#BB51BA #BB8751 #51BB52 #5185BB
square
#BB51BA #BB8751 #51BB52 #5185BB
split-complementary
#BB51BA #85BB51 #51BB87
monochromatic
#692968 #953A94 #BB51BA #CC7DCB #DDA9DD

Accessibility & contrast

On white

4.20
#BB51BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BB51BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51BA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51BA#FFFFFF#000000##000000
##BB51BA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BD
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#C05D7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb51ba;
/* rgb */ color: rgb(187, 81, 186);
/* oklch */ color: oklch(60.9% 0.186 327.9);
Tailwind
colors: {
  custom: {
    50: '#d288cf',
    500: '#bb51ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb51ba;
$custom-light: #d288cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51ba",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 300.566,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.18608,
    "h": 327.9
  },
  "luminance": 0.19995
}

Semantic roles & 50–950 ramp

primary
#BB51BA
secondary
#9DCB9D
accent
#D45554
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB51BA

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

Preview Lab → · Contrast checker → · Palette generator →

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