#B150B2#B150B2

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

Color values

HEX#B150B2
RGBrgb(177, 80, 178)
HSLhsl(299, 39%, 51%)
HSVhsv(299, 55%, 70%)
CMYKcmyk(0.6%, 55.1%, 0%, 30.2%)
CIE-LABlab(49.86, 52.87, -34.44)
CIE-LCHlch(49.86, 63.10, 326.92°)
OKLaboklab(58.99% 0.1467 -0.0948)
OKLCHoklch(58.99% 0.175 327.1)
XYZxyz(29.0355, 18.3005, 44.1138)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150B2 #51B250
analogous
#8050B2 #B150B2 #B25082
triadic
#B150B2 #B2B150 #50B2B1
tetradic
#B150B2 #B28050 #51B250 #5082B2
square
#B150B2 #B28050 #51B250 #5082B2
split-complementary
#B150B2 #82B250 #50B280
monochromatic
#5E295E #883C89 #B150B2 #C47AC5 #D7A5D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B150B2#FFFFFF#000000##000000
##B150B21.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)
#456FB5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#B65C79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b150b2;
/* rgb */ color: rgb(177, 80, 178);
/* oklch */ color: oklch(59.0% 0.175 327.1);
Tailwind
colors: {
  custom: {
    50: '#cb86c9',
    500: '#b150b2',
    950: '#000000',
  },
}
SCSS
$custom: #b150b2;
$custom-light: #cb86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b150b2",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 299.388,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.17467,
    "h": 327.1
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#B150B2
secondary
#9AC599
accent
#CF595A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B150B2

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

Preview Lab → · Contrast checker → · Palette generator →

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