#B827AB#B827AB

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

Color values

HEX#B827AB
RGBrgb(184, 39, 171)
HSLhsl(305, 65%, 44%)
HSVhsv(305, 79%, 72%)
CMYKcmyk(0%, 78.8%, 7.1%, 27.8%)
CIE-LABlab(45.06, 68.89, -37.81)
CIE-LCHlch(45.06, 78.58, 331.24°)
OKLaboklab(55.61% 0.1981 -0.1041)
OKLCHoklch(55.61% 0.224 332.3)
XYZxyz(27.8435, 14.5840, 39.8687)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827AB #27B834
analogous
#7C27B8 #B827AB #B82762
triadic
#B827AB #ABB827 #27ABB8
tetradic
#B827AB #B87C27 #27B834 #2762B8
square
#B827AB #B87C27 #27B834 #2762B8
split-complementary
#B827AB #62B827 #27B87C
monochromatic
#53124D #861C7C #B827AB #D845CA #E277D9

Accessibility & contrast

On white

5.36
#B827AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B827AB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827AB#FFFFFF#000000##FFFFFF
##B827AB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#5972A8
Tritanopia (blue-blind)
#C03969
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b827ab;
/* rgb */ color: rgb(184, 39, 171);
/* oklch */ color: oklch(55.6% 0.224 332.3);
Tailwind
colors: {
  custom: {
    50: '#d173c4',
    500: '#b827ab',
    950: '#000000',
  },
}
SCSS
$custom: #b827ab;
$custom-light: #d173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b827ab",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 305.379,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.22373,
    "h": 332.3
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#B827AB
secondary
#71CA79
accent
#E84F40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B827AB

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

Preview Lab → · Contrast checker → · Palette generator →

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