#B154BC#B154BC

#B154BC is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.178 H 323.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B154BC
RGBrgb(177, 84, 188)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 55%, 74%)
CMYKcmyk(5.9%, 55.3%, 0%, 26.3%)
CIE-LABlab(51.06, 52.81, -38.37)
CIE-LCHlch(51.06, 65.27, 324.00°)
OKLaboklab(60.03% 0.1425 -0.1062)
OKLCHoklch(60.03% 0.178 323.3)
XYZxyz(30.3780, 19.3201, 49.6962)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154BC #5FBC54
analogous
#7D54BC #B154BC #BC5493
triadic
#B154BC #BCB154 #54BCB1
tetradic
#B154BC #BC7D54 #5FBC54 #5493BC
square
#B154BC #BC7D54 #5FBC54 #5493BC
split-complementary
#B154BC #93BC54 #54BC7D
monochromatic
#652A6B #8E3B97 #B154BC #C580CD #D9ACDE

Accessibility & contrast

On white

4.32
#B154BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B154BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154BC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154BC#FFFFFF#000000##000000
##B154BC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#B46280
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b154bc;
/* rgb */ color: rgb(177, 84, 188);
/* oklch */ color: oklch(60.0% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#cb89d0',
    500: '#b154bc',
    950: '#000000',
  },
}
SCSS
$custom: #b154bc;
$custom-light: #cb89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b154bc",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 293.654,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.17768,
    "h": 323.3
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#B154BC
secondary
#A4CCA0
accent
#D35462
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B154BC

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

Preview Lab → · Contrast checker → · Palette generator →

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