#B155BA#B155BA

#B155BA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.1% C 0.174 H 324.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B155BA
RGBrgb(177, 85, 186)
HSLhsl(295, 42%, 53%)
HSVhsv(295, 54%, 73%)
CMYKcmyk(4.8%, 54.3%, 0%, 27.1%)
CIE-LABlab(51.14, 51.94, -37.08)
CIE-LCHlch(51.14, 63.82, 324.48°)
OKLaboklab(60.06% 0.1409 -0.1025)
OKLCHoklch(60.06% 0.174 324)
XYZxyz(30.2421, 19.3908, 48.5947)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155BA #5EBA55
analogous
#7E55BA #B155BA #BA5591
triadic
#B155BA #BAB155 #55BAB1
tetradic
#B155BA #BA7E55 #5EBA55 #5591BA
square
#B155BA #BA7E55 #5EBA55 #5591BA
split-complementary
#B155BA #91BA55 #55BA7E
monochromatic
#642B6A #8D3D95 #B155BA #C581CC #D9ACDD

Accessibility & contrast

On white

4.31
#B155BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B155BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155BA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155BA#FFFFFF#000000##000000
##B155BA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BD
Deuteranopia (green-blind)
#647EB7
Tritanopia (blue-blind)
#B46280
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b155ba;
/* rgb */ color: rgb(177, 85, 186);
/* oklch */ color: oklch(60.1% 0.174 324.0);
Tailwind
colors: {
  custom: {
    50: '#cb89cf',
    500: '#b155ba',
    950: '#000000',
  },
}
SCSS
$custom: #b155ba;
$custom-light: #cb89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b155ba",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 294.653,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.17424,
    "h": 324
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#B155BA
secondary
#A4CBA0
accent
#D25661
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B155BA

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

Preview Lab → · Contrast checker → · Palette generator →

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