#B928A1#B928A1

#B928A1 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.216 H 336.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B928A1
RGBrgb(185, 40, 161)
HSLhsl(310, 64%, 44%)
HSVhsv(310, 78%, 73%)
CMYKcmyk(0%, 78.4%, 13%, 27.5%)
CIE-LABlab(44.81, 67.37, -32.23)
CIE-LCHlch(44.81, 74.69, 334.43°)
OKLaboklab(55.3% 0.1978 -0.088)
OKLCHoklch(55.3% 0.216 336)
XYZxyz(27.1999, 14.4076, 35.0597)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B928A1 #28B940
analogous
#8928B9 #B928A1 #B92859
triadic
#B928A1 #A1B928 #28A1B9
tetradic
#B928A1 #B98928 #28B940 #2859B9
square
#B928A1 #B98928 #28B940 #2859B9
split-complementary
#B928A1 #59B928 #28B989
monochromatic
#541249 #871D75 #B928A1 #D747BF #E279D1

Accessibility & contrast

On white

5.41
#B928A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B928A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B928A1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B928A1#FFFFFF#000000##FFFFFF
##B928A11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA4
Deuteranopia (green-blind)
#5F729E
Tritanopia (blue-blind)
#C33463
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b928a1;
/* rgb */ color: rgb(185, 40, 161);
/* oklch */ color: oklch(55.3% 0.216 336.0);
Tailwind
colors: {
  custom: {
    50: '#d273bd',
    500: '#b928a1',
    950: '#000000',
  },
}
SCSS
$custom: #b928a1;
$custom-light: #d273bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b928a1",
  "rgb": {
    "r": 185,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 309.931,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.21647,
    "h": 336
  },
  "luminance": 0.14405
}

Semantic roles & 50–950 ramp

primary
#B928A1
secondary
#73CA81
accent
#E75C40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B928A1

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

Preview Lab → · Contrast checker → · Palette generator →

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