#B151BB#B151BB

#B151BB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.6% C 0.181 H 323.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B151BB
RGBrgb(177, 81, 187)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 57%, 73%)
CMYKcmyk(5.3%, 56.7%, 0%, 26.7%)
CIE-LABlab(50.48, 54.05, -38.70)
CIE-LCHlch(50.48, 66.48, 324.39°)
OKLaboklab(59.59% 0.1463 -0.1071)
OKLCHoklch(59.59% 0.181 323.8)
XYZxyz(30.0427, 18.8214, 49.0545)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151BB #5BBB51
analogous
#7C51BB #B151BB #BB5190
triadic
#B151BB #BBB151 #51BBB1
tetradic
#B151BB #BB7C51 #5BBB51 #5190BB
square
#B151BB #BB7C51 #5BBB51 #5190BB
split-complementary
#B151BB #90BB51 #51BB7C
monochromatic
#632969 #8C3A95 #B151BB #C57DCC #D8A9DD

Accessibility & contrast

On white

4.41
#B151BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B151BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151BB#FFFFFF#000000##000000
##B151BB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BE
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#B45F7E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b151bb;
/* rgb */ color: rgb(177, 81, 187);
/* oklch */ color: oklch(59.6% 0.181 323.8);
Tailwind
colors: {
  custom: {
    50: '#cb87d0',
    500: '#b151bb',
    950: '#000000',
  },
}
SCSS
$custom: #b151bb;
$custom-light: #cb87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b151bb",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 294.34,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.18135,
    "h": 323.8
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#B151BB
secondary
#A1CB9D
accent
#D45460
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B151BB

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

Preview Lab → · Contrast checker → · Palette generator →

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