#B151BD#B151BD

#B151BD is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.183 H 323.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B151BD
RGBrgb(177, 81, 189)
HSLhsl(293, 45%, 53%)
HSVhsv(293, 57%, 74%)
CMYKcmyk(6.3%, 57.1%, 0%, 25.9%)
CIE-LABlab(50.58, 54.43, -39.70)
CIE-LCHlch(50.58, 67.37, 323.89°)
OKLaboklab(59.7% 0.1465 -0.11)
OKLCHoklch(59.7% 0.183 323.1)
XYZxyz(30.2583, 18.9076, 50.1900)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151BD #5DBD51
analogous
#7B51BD #B151BD #BD5193
triadic
#B151BD #BDB151 #51BDB1
tetradic
#B151BD #BD7B51 #5DBD51 #5193BD
square
#B151BD #BD7B51 #5DBD51 #5193BD
split-complementary
#B151BD #93BD51 #51BD7B
monochromatic
#64296B #8D3997 #B151BD #C57DCE #D9AADF

Accessibility & contrast

On white

4.39
#B151BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B151BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151BD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151BD#FFFFFF#000000##000000
##B151BD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F71C0
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#B4607F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b151bd;
/* rgb */ color: rgb(177, 81, 189);
/* oklch */ color: oklch(59.7% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#cb87d1',
    500: '#b151bd',
    950: '#000000',
  },
}
SCSS
$custom: #b151bd;
$custom-light: #cb87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b151bd",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 293.333,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.18322,
    "h": 323.1
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#B151BD
secondary
#A3CC9E
accent
#D55362
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B151BD

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

Preview Lab → · Contrast checker → · Palette generator →

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