#B155B2#B155B2

#B155B2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.7% C 0.167 H 327.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B155B2
RGBrgb(177, 85, 178)
HSLhsl(299, 38%, 52%)
HSVhsv(299, 52%, 70%)
CMYKcmyk(0.6%, 52.2%, 0%, 30.2%)
CIE-LABlab(50.76, 50.46, -33.03)
CIE-LCHlch(50.76, 60.31, 326.79°)
OKLaboklab(59.65% 0.1399 -0.0908)
OKLCHoklch(59.65% 0.167 327)
XYZxyz(29.4153, 19.0601, 44.2404)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155B2 #56B255
analogous
#8355B2 #B155B2 #B25585
triadic
#B155B2 #B2B155 #55B2B1
tetradic
#B155B2 #B28355 #56B255 #5585B2
square
#B155B2 #B28355 #56B255 #5585B2
split-complementary
#B155B2 #85B255 #55B283
monochromatic
#602C61 #8A3F8B #B155B2 #C47FC5 #D8A9D8

Accessibility & contrast

On white

4.36
#B155B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B155B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155B2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155B2#FFFFFF#000000##000000
##B155B21.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#B6607C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b155b2;
/* rgb */ color: rgb(177, 85, 178);
/* oklch */ color: oklch(59.7% 0.167 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb89c9',
    500: '#b155b2',
    950: '#000000',
  },
}
SCSS
$custom: #b155b2;
$custom-light: #cb89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b155b2",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 299.355,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.1668,
    "h": 327
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#B155B2
secondary
#9DC69D
accent
#CE5A5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B155B2

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

Preview Lab → · Contrast checker → · Palette generator →

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