#B151AE#B151AE

#B151AE is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.9% C 0.170 H 328.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B151AE
RGBrgb(177, 81, 174)
HSLhsl(302, 38%, 51%)
HSVhsv(302, 54%, 69%)
CMYKcmyk(0%, 54.2%, 1.7%, 30.6%)
CIE-LABlab(49.85, 51.68, -32.12)
CIE-LCHlch(49.85, 60.85, 328.13°)
OKLaboklab(58.92% 0.1448 -0.0882)
OKLCHoklch(58.92% 0.17 328.7)
XYZxyz(28.7135, 18.2897, 42.0541)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151AE #51B154
analogous
#8451B1 #B151AE #B1517E
triadic
#B151AE #AEB151 #51AEB1
tetradic
#B151AE #B18451 #51B154 #517EB1
square
#B151AE #B18451 #51B154 #517EB1
split-complementary
#B151AE #7EB151 #51B184
monochromatic
#5E2A5C #883D86 #B151AE #C47BC2 #D7A6D5

Accessibility & contrast

On white

4.51
#B151AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B151AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151AE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151AE#FFFFFF#000000##000000
##B151AE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#496EB1
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#B65B78
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b151ae;
/* rgb */ color: rgb(177, 81, 174);
/* oklch */ color: oklch(58.9% 0.170 328.7);
Tailwind
colors: {
  custom: {
    50: '#cb86c6',
    500: '#b151ae',
    950: '#000000',
  },
}
SCSS
$custom: #b151ae;
$custom-light: #cb86c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b151ae",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 301.875,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58918,
    "c": 0.16955,
    "h": 328.7
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#B151AE
secondary
#9AC49B
accent
#CE5D5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B151AE

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

Preview Lab → · Contrast checker → · Palette generator →

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