#B154BA#B154BA

#B154BA is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.9% C 0.176 H 324.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B154BA
RGBrgb(177, 84, 186)
HSLhsl(295, 43%, 53%)
HSVhsv(295, 55%, 73%)
CMYKcmyk(4.8%, 54.8%, 0%, 27.1%)
CIE-LABlab(50.96, 52.43, -37.36)
CIE-LCHlch(50.96, 64.38, 324.52°)
OKLaboklab(59.93% 0.1423 -0.1033)
OKLCHoklch(59.93% 0.176 324)
XYZxyz(30.1639, 19.2345, 48.5686)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154BA #5DBA54
analogous
#7E54BA #B154BA #BA5490
triadic
#B154BA #BAB154 #54BAB1
tetradic
#B154BA #BA7E54 #5DBA54 #5490BA
square
#B154BA #BA7E54 #5DBA54 #5490BA
split-complementary
#B154BA #90BA54 #54BA7E
monochromatic
#642A69 #8D3C95 #B154BA #C580CC #D9ABDD

Accessibility & contrast

On white

4.33
#B154BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B154BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154BA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154BA#FFFFFF#000000##000000
##B154BA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#B4617F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b154ba;
/* rgb */ color: rgb(177, 84, 186);
/* oklch */ color: oklch(59.9% 0.176 324.0);
Tailwind
colors: {
  custom: {
    50: '#cb88cf',
    500: '#b154ba',
    950: '#000000',
  },
}
SCSS
$custom: #b154ba;
$custom-light: #cb88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b154ba",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 294.706,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59925,
    "c": 0.1758,
    "h": 324
  },
  "luminance": 0.19233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B154BA

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

Preview Lab → · Contrast checker → · Palette generator →

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