#BB51C1#BB51C1

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

Color values

HEX#BB51C1
RGBrgb(187, 81, 193)
HSLhsl(297, 47%, 54%)
HSVhsv(297, 58%, 76%)
CMYKcmyk(3.1%, 58%, 0%, 24.3%)
CIE-LABlab(52.18, 57.77, -39.40)
CIE-LCHlch(52.18, 69.93, 325.70°)
OKLaboklab(61.22% 0.1584 -0.1089)
OKLCHoklch(61.22% 0.192 325.5)
XYZxyz(33.0609, 20.3018, 52.6190)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51C1 #57C151
analogous
#8351C1 #BB51C1 #C1518F
triadic
#BB51C1 #C1BB51 #51C1BB
tetradic
#BB51C1 #C18351 #57C151 #518FC1
square
#BB51C1 #C18351 #57C151 #518FC1
split-complementary
#BB51C1 #8FC151 #51C183
monochromatic
#6C2870 #97389D #BB51C1 #CD7ED1 #DEABE1

Accessibility & contrast

On white

4.15
#BB51C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BB51C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51C1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51C1#FFFFFF#000000##000000
##BB51C11.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4174C4
Deuteranopia (green-blind)
#6681BE
Tritanopia (blue-blind)
#BF6081
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb51c1;
/* rgb */ color: rgb(187, 81, 193);
/* oklch */ color: oklch(61.2% 0.192 325.5);
Tailwind
colors: {
  custom: {
    50: '#d288d4',
    500: '#bb51c1',
    950: '#000000',
  },
}
SCSS
$custom: #bb51c1;
$custom-light: #d288d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51c1",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 296.786,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.19222,
    "h": 325.5
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#BB51C1
secondary
#A2CF9F
accent
#D75158
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB51C1

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

Preview Lab → · Contrast checker → · Palette generator →

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