#B928A2#B928A2

#B928A2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.217 H 335.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B928A2
RGBrgb(185, 40, 162)
HSLhsl(310, 64%, 44%)
HSVhsv(310, 78%, 73%)
CMYKcmyk(0%, 78.4%, 12.4%, 27.5%)
CIE-LABlab(44.86, 67.52, -32.75)
CIE-LCHlch(44.86, 75.04, 334.12°)
OKLaboklab(55.36% 0.1979 -0.0895)
OKLCHoklch(55.36% 0.217 335.7)
XYZxyz(27.2884, 14.4430, 35.5260)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B928A2 #28B93F
analogous
#8828B9 #B928A2 #B9285A
triadic
#B928A2 #A2B928 #28A2B9
tetradic
#B928A2 #B98828 #28B93F #285AB9
square
#B928A2 #B98828 #28B93F #285AB9
split-complementary
#B928A2 #5AB928 #28B988
monochromatic
#54124A #871D76 #B928A2 #D747C0 #E279D1

Accessibility & contrast

On white

5.40
#B928A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B928A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B928A2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B928A2#FFFFFF#000000##FFFFFF
##B928A21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#C33564
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b928a2;
/* rgb */ color: rgb(185, 40, 162);
/* oklch */ color: oklch(55.4% 0.217 335.7);
Tailwind
colors: {
  custom: {
    50: '#d273be',
    500: '#b928a2',
    950: '#000000',
  },
}
SCSS
$custom: #b928a2;
$custom-light: #d273be;
$custom-dark: #000000;
JSON
{
  "hex": "#b928a2",
  "rgb": {
    "r": 185,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 309.517,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.21715,
    "h": 335.7
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#B928A2
secondary
#73CA81
accent
#E75B40
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B928A2

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

Preview Lab → · Contrast checker → · Palette generator →

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