#B928AF#B928AF

#B928AF is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.1% C 0.226 H 331.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B928AF
RGBrgb(185, 40, 175)
HSLhsl(304, 64%, 44%)
HSVhsv(304, 78%, 73%)
CMYKcmyk(0%, 78.4%, 5.4%, 27.5%)
CIE-LABlab(45.54, 69.43, -39.41)
CIE-LCHlch(45.54, 79.83, 330.42°)
OKLaboklab(56.06% 0.1983 -0.1087)
OKLCHoklch(56.06% 0.226 331.3)
XYZxyz(28.5042, 14.9294, 41.9295)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B928AF #28B932
analogous
#7B28B9 #B928AF #B92867
triadic
#B928AF #AFB928 #28AFB9
tetradic
#B928AF #B97B28 #28B932 #2867B9
square
#B928AF #B97B28 #28B932 #2867B9
split-complementary
#B928AF #67B928 #28B97B
monochromatic
#541250 #871D7F #B928AF #D747CD #E279DB

Accessibility & contrast

On white

5.27
#B928AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B928AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B928AF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B928AF#FFFFFF#000000##FFFFFF
##B928AF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB3
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#C13C6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b928af;
/* rgb */ color: rgb(185, 40, 175);
/* oklch */ color: oklch(56.1% 0.226 331.3);
Tailwind
colors: {
  custom: {
    50: '#d274c7',
    500: '#b928af',
    950: '#000000',
  },
}
SCSS
$custom: #b928af;
$custom-light: #d274c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b928af",
  "rgb": {
    "r": 185,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 304.138,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.22615,
    "h": 331.3
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#B928AF
secondary
#73CA79
accent
#E74C40
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B928AF

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

Preview Lab → · Contrast checker → · Palette generator →

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