#B928AA#B928AA

#B928AA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.223 H 332.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B928AA
RGBrgb(185, 40, 170)
HSLhsl(306, 64%, 44%)
HSVhsv(306, 78%, 73%)
CMYKcmyk(0%, 78.4%, 8.1%, 27.5%)
CIE-LABlab(45.27, 68.68, -36.87)
CIE-LCHlch(45.27, 77.95, 331.77°)
OKLaboklab(55.78% 0.1982 -0.1013)
OKLCHoklch(55.78% 0.223 332.9)
XYZxyz(28.0222, 14.7366, 39.3910)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B928AA #28B937
analogous
#8028B9 #B928AA #B92862
triadic
#B928AA #AAB928 #28AAB9
tetradic
#B928AA #B98028 #28B937 #2862B9
square
#B928AA #B98028 #28B937 #2862B9
split-complementary
#B928AA #62B928 #28B980
monochromatic
#54124E #871D7C #B928AA #D747C8 #E279D7

Accessibility & contrast

On white

5.32
#B928AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B928AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B928AA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B928AA#FFFFFF#000000##FFFFFF
##B928AA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#C13968
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b928aa;
/* rgb */ color: rgb(185, 40, 170);
/* oklch */ color: oklch(55.8% 0.223 332.9);
Tailwind
colors: {
  custom: {
    50: '#d273c4',
    500: '#b928aa',
    950: '#000000',
  },
}
SCSS
$custom: #b928aa;
$custom-light: #d273c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b928aa",
  "rgb": {
    "r": 185,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 306.207,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.22263,
    "h": 332.9
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#B928AA
secondary
#73CA7C
accent
#E75240
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B928AA

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

Preview Lab → · Contrast checker → · Palette generator →

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