#B151BF#B151BF

#B151BF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.185 H 322.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B151BF
RGBrgb(177, 81, 191)
HSLhsl(292, 46%, 53%)
HSVhsv(292, 58%, 75%)
CMYKcmyk(7.3%, 57.6%, 0%, 25.1%)
CIE-LABlab(50.68, 54.81, -40.70)
CIE-LCHlch(50.68, 68.27, 323.40°)
OKLaboklab(59.8% 0.1466 -0.1129)
OKLCHoklch(59.8% 0.185 322.4)
XYZxyz(30.4769, 18.9951, 51.3412)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151BF #5FBF51
analogous
#7A51BF #B151BF #BF5196
triadic
#B151BF #BFB151 #51BFB1
tetradic
#B151BF #BF7A51 #5FBF51 #5196BF
square
#B151BF #BF7A51 #5FBF51 #5196BF
split-complementary
#B151BF #96BF51 #51BF7A
monochromatic
#65286D #8E399A #B151BF #C57ECF #D9AAE0

Accessibility & contrast

On white

4.38
#B151BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B151BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151BF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151BF#FFFFFF#000000##000000
##B151BF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C2
Deuteranopia (green-blind)
#5F7CBC
Tritanopia (blue-blind)
#B36180
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b151bf;
/* rgb */ color: rgb(177, 81, 191);
/* oklch */ color: oklch(59.8% 0.185 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb87d3',
    500: '#b151bf',
    950: '#000000',
  },
}
SCSS
$custom: #b151bf;
$custom-light: #cb87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b151bf",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 292.364,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.18509,
    "h": 322.4
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#B151BF
secondary
#A4CE9E
accent
#D65263
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B151BF

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

Preview Lab → · Contrast checker → · Palette generator →

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