#BB51CF#BB51CF

#BB51CF is a mid, highly saturated purple. Relative luminance 0.210; OKLCH L 62.0% C 0.205 H 321.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB51CF
RGBrgb(187, 81, 207)
HSLhsl(290, 57%, 56%)
HSVhsv(290, 61%, 81%)
CMYKcmyk(9.7%, 60.9%, 0%, 18.8%)
CIE-LABlab(52.90, 60.36, -46.29)
CIE-LCHlch(52.90, 76.06, 322.51°)
OKLaboklab(61.98% 0.1592 -0.1289)
OKLCHoklch(61.98% 0.205 321)
XYZxyz(34.6971, 20.9563, 61.2367)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51CF #65CF51
analogous
#7C51CF #BB51CF #CF51A4
triadic
#BB51CF #CFBB51 #51CFBB
tetradic
#BB51CF #CF7C51 #65CF51 #51A4CF
square
#BB51CF #CF7C51 #65CF51 #51A4CF
split-complementary
#BB51CF #A4CF51 #51CF7C
monochromatic
#732482 #9D31B2 #BB51CF #CE81DC #E0B1E9

Accessibility & contrast

On white

4.05
#BB51CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BB51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51CF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51CF#FFFFFF#000000##000000
##BB51CF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#5E82CC
Tritanopia (blue-blind)
#BD6589
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb51cf;
/* rgb */ color: rgb(187, 81, 207);
/* oklch */ color: oklch(62.0% 0.205 321.0);
Tailwind
colors: {
  custom: {
    50: '#d288de',
    500: '#bb51cf',
    950: '#000000',
  },
}
SCSS
$custom: #bb51cf;
$custom-light: #d288de;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51cf",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 290.476,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.20485,
    "h": 321
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

primary
#BB51CF
secondary
#ACD8A4
accent
#E04860
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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