#B154BD#B154BD

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

Color values

HEX#B154BD
RGBrgb(177, 84, 189)
HSLhsl(293, 44%, 54%)
HSVhsv(293, 56%, 74%)
CMYKcmyk(6.3%, 55.6%, 0%, 25.9%)
CIE-LABlab(51.11, 53.00, -38.87)
CIE-LCHlch(51.11, 65.72, 323.74°)
OKLaboklab(60.08% 0.1426 -0.1076)
OKLCHoklch(60.08% 0.179 322.9)
XYZxyz(30.4862, 19.3634, 50.2659)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154BD #60BD54
analogous
#7C54BD #B154BD #BD5494
triadic
#B154BD #BDB154 #54BDB1
tetradic
#B154BD #BD7C54 #60BD54 #5494BD
square
#B154BD #BD7C54 #60BD54 #5494BD
split-complementary
#B154BD #94BD54 #54BD7C
monochromatic
#652A6D #8E3B99 #B154BD #C580CE #D9ACDF

Accessibility & contrast

On white

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

On black

4.87
#B154BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154BD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154BD#FFFFFF#000000##000000
##B154BD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#B46281
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b154bd;
/* rgb */ color: rgb(177, 84, 189);
/* oklch */ color: oklch(60.1% 0.179 322.9);
Tailwind
colors: {
  custom: {
    50: '#cb89d1',
    500: '#b154bd',
    950: '#000000',
  },
}
SCSS
$custom: #b154bd;
$custom-light: #cb89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b154bd",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 293.143,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.17863,
    "h": 322.9
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#B154BD
secondary
#A5CDA0
accent
#D45462
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B154BD

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

Preview Lab → · Contrast checker → · Palette generator →

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