#B150B3#B150B3

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

Color values

HEX#B150B3
RGBrgb(177, 80, 179)
HSLhsl(299, 39%, 51%)
HSVhsv(299, 55%, 70%)
CMYKcmyk(1.1%, 55.3%, 0%, 29.8%)
CIE-LABlab(49.91, 53.05, -34.95)
CIE-LCHlch(49.91, 63.53, 326.62°)
OKLaboklab(59.04% 0.1468 -0.0963)
OKLCHoklch(59.04% 0.176 326.7)
XYZxyz(29.1363, 18.3408, 44.6445)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150B3 #52B350
analogous
#7F50B3 #B150B3 #B35083
triadic
#B150B3 #B3B150 #50B3B1
tetradic
#B150B3 #B37F50 #52B350 #5083B3
square
#B150B3 #B37F50 #52B350 #5083B3
split-complementary
#B150B3 #83B350 #50B37F
monochromatic
#5E295F #883C8A #B150B3 #C47BC6 #D7A5D8

Accessibility & contrast

On white

4.50
#B150B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B150B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150B3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150B3#FFFFFF#000000##000000
##B150B31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#456FB6
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#B65C7A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b150b3;
/* rgb */ color: rgb(177, 80, 179);
/* oklch */ color: oklch(59.0% 0.176 326.7);
Tailwind
colors: {
  custom: {
    50: '#cb86ca',
    500: '#b150b3',
    950: '#000000',
  },
}
SCSS
$custom: #b150b3;
$custom-light: #cb86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b150b3",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 298.788,
    "s": 39.442,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59041,
    "c": 0.17557,
    "h": 326.7
  },
  "luminance": 0.18339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B150B3

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

Preview Lab → · Contrast checker → · Palette generator →

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