#B150A5#B150A5

#B150A5 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.4% C 0.163 H 332.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B150A5
RGBrgb(177, 80, 165)
HSLhsl(307, 38%, 50%)
HSVhsv(307, 55%, 69%)
CMYKcmyk(0%, 54.8%, 6.8%, 30.6%)
CIE-LABlab(49.26, 50.59, -27.76)
CIE-LCHlch(49.26, 57.70, 331.25°)
OKLaboklab(58.35% 0.1448 -0.0757)
OKLCHoklch(58.35% 0.163 332.4)
XYZxyz(27.7916, 17.8029, 37.5625)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150A5 #50B15C
analogous
#8D50B1 #B150A5 #B15074
triadic
#B150A5 #A5B150 #50A5B1
tetradic
#B150A5 #B18D50 #50B15C #5074B1
square
#B150A5 #B18D50 #50B15C #5074B1
split-complementary
#B150A5 #74B150 #50B18D
monochromatic
#5D2957 #873C7E #B150A5 #C47ABB #D7A5D1

Accessibility & contrast

On white

4.61
#B150A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B150A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B150A5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150A5#FFFFFF#000000##FFFFFF
##B150A51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#B85773
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b150a5;
/* rgb */ color: rgb(177, 80, 165);
/* oklch */ color: oklch(58.4% 0.163 332.4);
Tailwind
colors: {
  custom: {
    50: '#cb86c0',
    500: '#b150a5',
    950: '#000000',
  },
}
SCSS
$custom: #b150a5;
$custom-light: #cb86c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b150a5",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 307.423,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5835,
    "c": 0.16338,
    "h": 332.4
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#B150A5
secondary
#99C49E
accent
#CE685A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B150A5

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

Preview Lab → · Contrast checker → · Palette generator →

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