#B151BE#B151BE

#B151BE is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.7% C 0.184 H 322.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B151BE
RGBrgb(177, 81, 190)
HSLhsl(293, 46%, 53%)
HSVhsv(293, 57%, 75%)
CMYKcmyk(6.8%, 57.4%, 0%, 25.5%)
CIE-LABlab(50.63, 54.62, -40.20)
CIE-LCHlch(50.63, 67.82, 323.64°)
OKLaboklab(59.75% 0.1466 -0.1115)
OKLCHoklch(59.75% 0.184 322.7)
XYZxyz(30.3672, 18.9512, 50.7636)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151BE #5EBE51
analogous
#7A51BE #B151BE #BE5194
triadic
#B151BE #BEB151 #51BEB1
tetradic
#B151BE #BE7A51 #5EBE51 #5194BE
square
#B151BE #BE7A51 #5EBE51 #5194BE
split-complementary
#B151BE #94BE51 #51BE7A
monochromatic
#64286C #8D3999 #B151BE #C57ECF #D9AADF

Accessibility & contrast

On white

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

On black

4.79
#B151BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151BE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151BE#FFFFFF#000000##000000
##B151BE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C1
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#B46080
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b151be;
/* rgb */ color: rgb(177, 81, 190);
/* oklch */ color: oklch(59.7% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#cb87d2',
    500: '#b151be',
    950: '#000000',
  },
}
SCSS
$custom: #b151be;
$custom-light: #cb87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b151be",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 292.844,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59749,
    "c": 0.18415,
    "h": 322.7
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#B151BE
secondary
#A4CD9E
accent
#D55362
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B151BE

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

Preview Lab → · Contrast checker → · Palette generator →

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