#B954AC#B954AC

#B954AC is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.3% C 0.168 H 332.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B954AC
RGBrgb(185, 84, 172)
HSLhsl(308, 42%, 53%)
HSVhsv(308, 55%, 73%)
CMYKcmyk(0%, 54.6%, 7%, 27.5%)
CIE-LABlab(51.42, 52.16, -28.41)
CIE-LCHlch(51.42, 59.40, 331.42°)
OKLaboklab(60.28% 0.1495 -0.0774)
OKLCHoklch(60.28% 0.168 332.6)
XYZxyz(30.6242, 19.6356, 41.1988)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954AC #54B961
analogous
#9454B9 #B954AC #B95479
triadic
#B954AC #ACB954 #54ACB9
tetradic
#B954AC #B99454 #54B961 #5479B9
square
#B954AC #B99454 #54B961 #5479B9
split-complementary
#B954AC #79B954 #54B994
monochromatic
#682B60 #933C88 #B954AC #CB7FC1 #DDABD6

Accessibility & contrast

On white

4.26
#B954AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B954AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954AC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954AC#FFFFFF#000000##000000
##B954AC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AF
Deuteranopia (green-blind)
#6F80A9
Tritanopia (blue-blind)
#C05B78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b954ac;
/* rgb */ color: rgb(185, 84, 172);
/* oklch */ color: oklch(60.3% 0.168 332.6);
Tailwind
colors: {
  custom: {
    50: '#d089c5',
    500: '#b954ac',
    950: '#000000',
  },
}
SCSS
$custom: #b954ac;
$custom-light: #d089c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b954ac",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 307.723,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.16832,
    "h": 332.6
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#B954AC
secondary
#9FCAA4
accent
#D26656
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B954AC

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

Preview Lab → · Contrast checker → · Palette generator →

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