#B151C3#B151C3

#B151C3 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.189 H 321.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B151C3
RGBrgb(177, 81, 195)
HSLhsl(291, 49%, 54%)
HSVhsv(291, 58%, 76%)
CMYKcmyk(9.2%, 58.5%, 0%, 23.5%)
CIE-LABlab(50.89, 55.57, -42.68)
CIE-LCHlch(50.89, 70.07, 322.47°)
OKLaboklab(60.02% 0.1469 -0.1187)
OKLCHoklch(60.02% 0.189 321.1)
XYZxyz(30.9231, 19.1735, 53.6912)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151C3 #63C351
analogous
#7851C3 #B151C3 #C3519C
triadic
#B151C3 #C3B151 #51C3B1
tetradic
#B151C3 #C37851 #63C351 #519CC3
square
#B151C3 #C37851 #63C351 #519CC3
split-complementary
#B151C3 #9CC351 #51C378
monochromatic
#662772 #8F37A0 #B151C3 #C57FD3 #DAACE2

Accessibility & contrast

On white

4.34
#B151C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B151C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151C3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151C3#FFFFFF#000000##000000
##B151C31.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C7
Deuteranopia (green-blind)
#5C7DC0
Tritanopia (blue-blind)
#B36282
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b151c3;
/* rgb */ color: rgb(177, 81, 195);
/* oklch */ color: oklch(60.0% 0.189 321.1);
Tailwind
colors: {
  custom: {
    50: '#cb87d5',
    500: '#b151c3',
    950: '#000000',
  },
}
SCSS
$custom: #b151c3;
$custom-light: #cb87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b151c3",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 290.526,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.18886,
    "h": 321.1
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#B151C3
secondary
#A7D0A0
accent
#D85065
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B151C3

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

Preview Lab → · Contrast checker → · Palette generator →

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