#B827AE#B827AE

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

Color values

HEX#B827AE
RGBrgb(184, 39, 174)
HSLhsl(304, 65%, 44%)
HSVhsv(304, 79%, 72%)
CMYKcmyk(0%, 78.8%, 5.4%, 27.8%)
CIE-LABlab(45.22, 69.34, -39.33)
CIE-LCHlch(45.22, 79.72, 330.44°)
OKLaboklab(55.78% 0.1981 -0.1085)
OKLCHoklch(55.78% 0.226 331.3)
XYZxyz(28.1327, 14.6997, 41.3918)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827AE #27B831
analogous
#7927B8 #B827AE #B82765
triadic
#B827AE #AEB827 #27AEB8
tetradic
#B827AE #B87927 #27B831 #2765B8
square
#B827AE #B87927 #27B831 #2765B8
split-complementary
#B827AE #65B827 #27B879
monochromatic
#53124E #861C7E #B827AE #D845CD #E277DB

Accessibility & contrast

On white

5.33
#B827AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B827AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827AE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827AE#FFFFFF#000000##FFFFFF
##B827AE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB2
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#C03B6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b827ae;
/* rgb */ color: rgb(184, 39, 174);
/* oklch */ color: oklch(55.8% 0.226 331.3);
Tailwind
colors: {
  custom: {
    50: '#d173c6',
    500: '#b827ae',
    950: '#000000',
  },
}
SCSS
$custom: #b827ae;
$custom-light: #d173c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b827ae",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 304.138,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.22584,
    "h": 331.3
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#B827AE
secondary
#71CA77
accent
#E84B40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B827AE

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

Preview Lab → · Contrast checker → · Palette generator →

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