#B151A3#B151A3

#B151A3 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.4% C 0.160 H 333.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B151A3
RGBrgb(177, 81, 163)
HSLhsl(309, 38%, 51%)
HSVhsv(309, 54%, 69%)
CMYKcmyk(0%, 54.2%, 7.9%, 30.6%)
CIE-LABlab(49.35, 49.77, -26.44)
CIE-LCHlch(49.35, 56.35, 332.02°)
OKLaboklab(58.39% 0.143 -0.0719)
OKLCHoklch(58.39% 0.16 333.3)
XYZxyz(27.6847, 17.8782, 36.6359)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151A3 #51B15F
analogous
#8F51B1 #B151A3 #B15173
triadic
#B151A3 #A3B151 #51A3B1
tetradic
#B151A3 #B18F51 #51B15F #5173B1
square
#B151A3 #B18F51 #51B15F #5173B1
split-complementary
#B151A3 #73B151 #51B18F
monochromatic
#5E2A56 #883D7D #B151A3 #C47BB9 #D7A6D0

Accessibility & contrast

On white

4.59
#B151A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B151A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B151A3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151A3#FFFFFF#000000##FFFFFF
##B151A31.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA6
Deuteranopia (green-blind)
#6C7AA0
Tritanopia (blue-blind)
#B85773
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b151a3;
/* rgb */ color: rgb(177, 81, 163);
/* oklch */ color: oklch(58.4% 0.160 333.3);
Tailwind
colors: {
  custom: {
    50: '#cb86be',
    500: '#b151a3',
    950: '#000000',
  },
}
SCSS
$custom: #b151a3;
$custom-light: #cb86be;
$custom-dark: #000000;
JSON
{
  "hex": "#b151a3",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 308.75,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58389,
    "c": 0.16011,
    "h": 333.3
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#B151A3
secondary
#9AC4A0
accent
#CE6B5A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B151A3

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

Preview Lab → · Contrast checker → · Palette generator →

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