#B155BC#B155BC

#B155BC is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.176 H 323.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B155BC
RGBrgb(177, 85, 188)
HSLhsl(294, 43%, 54%)
HSVhsv(294, 55%, 74%)
CMYKcmyk(5.9%, 54.8%, 0%, 26.3%)
CIE-LABlab(51.24, 52.32, -38.08)
CIE-LCHlch(51.24, 64.71, 323.95°)
OKLaboklab(60.16% 0.1411 -0.1054)
OKLCHoklch(60.16% 0.176 323.3)
XYZxyz(30.4562, 19.4765, 49.7223)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155BC #60BC55
analogous
#7D55BC #B155BC #BC5593
triadic
#B155BC #BCB155 #55BCB1
tetradic
#B155BC #BC7D55 #60BC55 #5593BC
square
#B155BC #BC7D55 #60BC55 #5593BC
split-complementary
#B155BC #93BC55 #55BC7D
monochromatic
#652B6C #8E3C98 #B155BC #C581CD #D9ADDF

Accessibility & contrast

On white

4.29
#B155BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B155BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155BC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155BC#FFFFFF#000000##000000
##B155BC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#B46381
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b155bc;
/* rgb */ color: rgb(177, 85, 188);
/* oklch */ color: oklch(60.2% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#cb89d0',
    500: '#b155bc',
    950: '#000000',
  },
}
SCSS
$custom: #b155bc;
$custom-light: #cb89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b155bc",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 293.592,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.17613,
    "h": 323.3
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#B155BC
secondary
#A5CCA0
accent
#D35562
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B155BC

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

Preview Lab → · Contrast checker → · Palette generator →

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