#B151BC#B151BC

#B151BC is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.182 H 323.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B151BC
RGBrgb(177, 81, 188)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 57%, 74%)
CMYKcmyk(5.9%, 56.9%, 0%, 26.3%)
CIE-LABlab(50.53, 54.24, -39.20)
CIE-LCHlch(50.53, 66.93, 324.14°)
OKLaboklab(59.64% 0.1464 -0.1086)
OKLCHoklch(59.64% 0.182 323.4)
XYZxyz(30.1501, 18.8644, 49.6203)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151BC #5CBC51
analogous
#7C51BC #B151BC #BC5191
triadic
#B151BC #BCB151 #51BCB1
tetradic
#B151BC #BC7C51 #5CBC51 #5191BC
square
#B151BC #BC7C51 #5CBC51 #5191BC
split-complementary
#B151BC #91BC51 #51BC7C
monochromatic
#63296A #8D3A96 #B151BC #C57DCD #D9A9DE

Accessibility & contrast

On white

4.40
#B151BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B151BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151BC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151BC#FFFFFF#000000##000000
##B151BC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#B4607F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b151bc;
/* rgb */ color: rgb(177, 81, 188);
/* oklch */ color: oklch(59.6% 0.182 323.4);
Tailwind
colors: {
  custom: {
    50: '#cb87d0',
    500: '#b151bc',
    950: '#000000',
  },
}
SCSS
$custom: #b151bc;
$custom-light: #cb87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b151bc",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 293.832,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.18228,
    "h": 323.4
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#B151BC
secondary
#A2CC9D
accent
#D45461
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B151BC

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

Preview Lab → · Contrast checker → · Palette generator →

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