#BB51C0#BB51C0

#BB51C0 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.2% C 0.191 H 325.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB51C0
RGBrgb(187, 81, 192)
HSLhsl(297, 47%, 54%)
HSVhsv(297, 58%, 75%)
CMYKcmyk(2.6%, 57.8%, 0%, 24.7%)
CIE-LABlab(52.13, 57.59, -38.90)
CIE-LCHlch(52.13, 69.50, 325.96°)
OKLaboklab(61.16% 0.1583 -0.1075)
OKLCHoklch(61.16% 0.191 325.8)
XYZxyz(32.9497, 20.2573, 52.0335)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51C0 #56C051
analogous
#8351C0 #BB51C0 #C0518D
triadic
#BB51C0 #C0BB51 #51C0BB
tetradic
#BB51C0 #C08351 #56C051 #518DC0
square
#BB51C0 #C08351 #56C051 #518DC0
split-complementary
#BB51C0 #8DC051 #51C083
monochromatic
#6B286F #97389B #BB51C0 #CD7ED0 #DEABE1

Accessibility & contrast

On white

4.16
#BB51C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BB51C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51C0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51C0#FFFFFF#000000##000000
##BB51C01.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C3
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#BF5F81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb51c0;
/* rgb */ color: rgb(187, 81, 192);
/* oklch */ color: oklch(61.2% 0.191 325.8);
Tailwind
colors: {
  custom: {
    50: '#d288d3',
    500: '#bb51c0',
    950: '#000000',
  },
}
SCSS
$custom: #bb51c0;
$custom-light: #d288d3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51c0",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 297.297,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.19133,
    "h": 325.8
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#BB51C0
secondary
#A1CE9F
accent
#D65157
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB51C0

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

Preview Lab → · Contrast checker → · Palette generator →

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