#B151AA#B151AA

#B151AA is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.7% C 0.166 H 330.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B151AA
RGBrgb(177, 81, 170)
HSLhsl(304, 38%, 51%)
HSVhsv(304, 54%, 69%)
CMYKcmyk(0%, 54.2%, 4%, 30.6%)
CIE-LABlab(49.66, 50.97, -30.07)
CIE-LCHlch(49.66, 59.18, 329.46°)
OKLaboklab(58.72% 0.1442 -0.0823)
OKLCHoklch(58.72% 0.166 330.3)
XYZxyz(28.3294, 18.1361, 40.0309)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151AA #51B158
analogous
#8851B1 #B151AA #B1517A
triadic
#B151AA #AAB151 #51AAB1
tetradic
#B151AA #B18851 #51B158 #517AB1
square
#B151AA #B18851 #51B158 #517AB1
split-complementary
#B151AA #7AB151 #51B188
monochromatic
#5E2A5A #883D82 #B151AA #C47BBF #D7A6D3

Accessibility & contrast

On white

4.54
#B151AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B151AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151AA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151AA#FFFFFF#000000##000000
##B151AA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#B75A76
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b151aa;
/* rgb */ color: rgb(177, 81, 170);
/* oklch */ color: oklch(58.7% 0.166 330.3);
Tailwind
colors: {
  custom: {
    50: '#cb86c3',
    500: '#b151aa',
    950: '#000000',
  },
}
SCSS
$custom: #b151aa;
$custom-light: #cb86c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b151aa",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 304.375,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.16605,
    "h": 330.3
  },
  "luminance": 0.18134
}

Semantic roles & 50–950 ramp

primary
#B151AA
secondary
#9AC49D
accent
#CE625A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B151AA

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

Preview Lab → · Contrast checker → · Palette generator →

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