#B151AC#B151AC

#B151AC is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.8% C 0.168 H 329.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B151AC
RGBrgb(177, 81, 172)
HSLhsl(303, 38%, 51%)
HSVhsv(303, 54%, 69%)
CMYKcmyk(0%, 54.2%, 2.8%, 30.6%)
CIE-LABlab(49.75, 51.32, -31.10)
CIE-LCHlch(49.75, 60.01, 328.79°)
OKLaboklab(58.82% 0.1445 -0.0852)
OKLCHoklch(58.82% 0.168 329.5)
XYZxyz(28.5200, 18.2123, 41.0349)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151AC #51B156
analogous
#8651B1 #B151AC #B1517C
triadic
#B151AC #ACB151 #51ACB1
tetradic
#B151AC #B18651 #51B156 #517CB1
square
#B151AC #B18651 #51B156 #517CB1
split-complementary
#B151AC #7CB151 #51B186
monochromatic
#5E2A5B #883D84 #B151AC #C47BC0 #D7A6D4

Accessibility & contrast

On white

4.52
#B151AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B151AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151AC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151AC#FFFFFF#000000##000000
##B151AC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EAF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#B75A77
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b151ac;
/* rgb */ color: rgb(177, 81, 172);
/* oklch */ color: oklch(58.8% 0.168 329.5);
Tailwind
colors: {
  custom: {
    50: '#cb86c5',
    500: '#b151ac',
    950: '#000000',
  },
}
SCSS
$custom: #b151ac;
$custom-light: #cb86c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b151ac",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 303.125,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.16779,
    "h": 329.5
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#B151AC
secondary
#9AC49C
accent
#CE605A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B151AC

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

Preview Lab → · Contrast checker → · Palette generator →

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