#B154B2#B154B2

#B154B2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.5% C 0.168 H 327.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B154B2
RGBrgb(177, 84, 178)
HSLhsl(299, 38%, 51%)
HSVhsv(299, 53%, 70%)
CMYKcmyk(0.6%, 52.8%, 0%, 30.2%)
CIE-LABlab(50.57, 50.95, -33.32)
CIE-LCHlch(50.57, 60.88, 326.82°)
OKLaboklab(59.52% 0.1413 -0.0916)
OKLCHoklch(59.52% 0.168 327)
XYZxyz(29.3372, 18.9038, 44.2144)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154B2 #55B254
analogous
#8254B2 #B154B2 #B25484
triadic
#B154B2 #B2B154 #54B2B1
tetradic
#B154B2 #B28254 #55B254 #5484B2
square
#B154B2 #B28254 #55B254 #5484B2
split-complementary
#B154B2 #84B254 #54B282
monochromatic
#602B60 #8A3E8A #B154B2 #C47EC5 #D7A8D8

Accessibility & contrast

On white

4.39
#B154B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B154B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154B2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154B2#FFFFFF#000000##000000
##B154B21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#B65F7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b154b2;
/* rgb */ color: rgb(177, 84, 178);
/* oklch */ color: oklch(59.5% 0.168 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb88c9',
    500: '#b154b2',
    950: '#000000',
  },
}
SCSS
$custom: #b154b2;
$custom-light: #cb88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b154b2",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 299.362,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.1684,
    "h": 327
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#B154B2
secondary
#9DC69C
accent
#CE5A5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B154B2

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

Preview Lab → · Contrast checker → · Palette generator →

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