#B151C0#B151C0

#B151C0 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.186 H 322.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B151C0
RGBrgb(177, 81, 192)
HSLhsl(292, 47%, 54%)
HSVhsv(292, 58%, 75%)
CMYKcmyk(7.8%, 57.8%, 0%, 24.7%)
CIE-LABlab(50.73, 55.00, -41.20)
CIE-LCHlch(50.73, 68.72, 323.16°)
OKLaboklab(59.86% 0.1467 -0.1144)
OKLCHoklch(59.86% 0.186 322.1)
XYZxyz(30.5873, 19.0392, 51.9227)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151C0 #60C051
analogous
#7951C0 #B151C0 #C05197
triadic
#B151C0 #C0B151 #51C0B1
tetradic
#B151C0 #C07951 #60C051 #5197C0
square
#B151C0 #C07951 #60C051 #5197C0
split-complementary
#B151C0 #97C051 #51C079
monochromatic
#65286F #8E389B #B151C0 #C57ED0 #D9ABE1

Accessibility & contrast

On white

4.37
#B151C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B151C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151C0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151C0#FFFFFF#000000##000000
##B151C01.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C72C3
Deuteranopia (green-blind)
#5E7DBD
Tritanopia (blue-blind)
#B36181
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b151c0;
/* rgb */ color: rgb(177, 81, 192);
/* oklch */ color: oklch(59.9% 0.186 322.1);
Tailwind
colors: {
  custom: {
    50: '#cb87d3',
    500: '#b151c0',
    950: '#000000',
  },
}
SCSS
$custom: #b151c0;
$custom-light: #cb87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b151c0",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 291.892,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59857,
    "c": 0.18603,
    "h": 322.1
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#B151C0
secondary
#A5CE9F
accent
#D65163
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B151C0

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

Preview Lab → · Contrast checker → · Palette generator →

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