#B827AC#B827AC

#B827AC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.224 H 331.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B827AC
RGBrgb(184, 39, 172)
HSLhsl(305, 65%, 44%)
HSVhsv(305, 79%, 72%)
CMYKcmyk(0%, 78.8%, 6.5%, 27.8%)
CIE-LABlab(45.11, 69.04, -38.32)
CIE-LCHlch(45.11, 78.96, 330.97°)
OKLaboklab(55.67% 0.1981 -0.1055)
OKLCHoklch(55.67% 0.224 331.9)
XYZxyz(27.9392, 14.6223, 40.3726)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827AC #27B833
analogous
#7B27B8 #B827AC #B82763
triadic
#B827AC #ACB827 #27ACB8
tetradic
#B827AC #B87B27 #27B833 #2763B8
square
#B827AC #B87B27 #27B833 #2763B8
split-complementary
#B827AC #63B827 #27B87B
monochromatic
#53124E #861C7D #B827AC #D845CB #E277D9

Accessibility & contrast

On white

5.35
#B827AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B827AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827AC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827AC#FFFFFF#000000##FFFFFF
##B827AC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EAF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#C03A69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b827ac;
/* rgb */ color: rgb(184, 39, 172);
/* oklch */ color: oklch(55.7% 0.224 331.9);
Tailwind
colors: {
  custom: {
    50: '#d173c5',
    500: '#b827ac',
    950: '#000000',
  },
}
SCSS
$custom: #b827ac;
$custom-light: #d173c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b827ac",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 304.966,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.22443,
    "h": 331.9
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#B827AC
secondary
#71CA78
accent
#E84E40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B827AC

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

Preview Lab → · Contrast checker → · Palette generator →

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