#B155AB#B155AB

#B155AB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.3% C 0.161 H 329.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B155AB
RGBrgb(177, 85, 171)
HSLhsl(304, 37%, 51%)
HSVhsv(304, 52%, 69%)
CMYKcmyk(0%, 52%, 3.4%, 30.6%)
CIE-LABlab(50.44, 49.20, -29.45)
CIE-LCHlch(50.44, 57.34, 329.10°)
OKLaboklab(59.31% 0.1388 -0.0805)
OKLCHoklch(59.31% 0.161 329.9)
XYZxyz(28.7304, 18.7861, 40.6330)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155AB #55B15B
analogous
#8955B1 #B155AB #B1557D
triadic
#B155AB #ABB155 #55ABB1
tetradic
#B155AB #B18955 #55B15B #557DB1
square
#B155AB #B18955 #55B15B #557DB1
split-complementary
#B155AB #7DB155 #55B189
monochromatic
#602C5C #8A3F85 #B155AB #C47FC0 #D7A9D4

Accessibility & contrast

On white

4.41
#B155AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B155AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155AB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155AB#FFFFFF#000000##000000
##B155AB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#6B7DA8
Tritanopia (blue-blind)
#B75D78
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b155ab;
/* rgb */ color: rgb(177, 85, 171);
/* oklch */ color: oklch(59.3% 0.161 329.9);
Tailwind
colors: {
  custom: {
    50: '#ca89c4',
    500: '#b155ab',
    950: '#000000',
  },
}
SCSS
$custom: #b155ab;
$custom-light: #ca89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b155ab",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 303.913,
    "s": 37.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.1605,
    "h": 329.9
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#B155AB
secondary
#9DC59F
accent
#CD625B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B155AB

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

Preview Lab → · Contrast checker → · Palette generator →

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