#B154BF#B154BF

#B154BF is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.181 H 322.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B154BF
RGBrgb(177, 84, 191)
HSLhsl(292, 46%, 54%)
HSVhsv(292, 56%, 75%)
CMYKcmyk(7.3%, 56%, 0%, 25.1%)
CIE-LABlab(51.21, 53.38, -39.86)
CIE-LCHlch(51.21, 66.62, 323.25°)
OKLaboklab(60.19% 0.1427 -0.1105)
OKLCHoklch(60.19% 0.181 322.2)
XYZxyz(30.7048, 19.4508, 51.4172)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154BF #62BF54
analogous
#7C54BF #B154BF #BF5498
triadic
#B154BF #BFB154 #54BFB1
tetradic
#B154BF #BF7C54 #62BF54 #5498BF
square
#B154BF #BF7C54 #62BF54 #5498BF
split-complementary
#B154BF #98BF54 #54BF7C
monochromatic
#662A6F #8F3A9C #B154BF #C581D0 #DAADE0

Accessibility & contrast

On white

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

On black

4.89
#B154BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154BF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154BF#FFFFFF#000000##000000
##B154BF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#B36382
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b154bf;
/* rgb */ color: rgb(177, 84, 191);
/* oklch */ color: oklch(60.2% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#cb89d3',
    500: '#b154bf',
    950: '#000000',
  },
}
SCSS
$custom: #b154bf;
$custom-light: #cb89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b154bf",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 292.15,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6019,
    "c": 0.18053,
    "h": 322.2
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#B154BF
secondary
#A7CEA1
accent
#D55364
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B154BF

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

Preview Lab → · Contrast checker → · Palette generator →

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