#B827AA#B827AA

#B827AA is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.223 H 332.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B827AA
RGBrgb(184, 39, 170)
HSLhsl(306, 65%, 44%)
HSVhsv(306, 79%, 72%)
CMYKcmyk(0%, 78.8%, 7.6%, 27.8%)
CIE-LABlab(45.01, 68.74, -37.30)
CIE-LCHlch(45.01, 78.20, 331.51°)
OKLaboklab(55.56% 0.198 -0.1026)
OKLCHoklch(55.56% 0.223 332.6)
XYZxyz(27.7485, 14.5461, 39.3686)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827AA #27B835
analogous
#7D27B8 #B827AA #B82761
triadic
#B827AA #AAB827 #27AAB8
tetradic
#B827AA #B87D27 #27B835 #2761B8
square
#B827AA #B87D27 #27B835 #2761B8
split-complementary
#B827AA #61B827 #27B87D
monochromatic
#53124D #861C7B #B827AA #D845C9 #E277D8

Accessibility & contrast

On white

5.37
#B827AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B827AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827AA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827AA#FFFFFF#000000##FFFFFF
##B827AA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#C03968
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b827aa;
/* rgb */ color: rgb(184, 39, 170);
/* oklch */ color: oklch(55.6% 0.223 332.6);
Tailwind
colors: {
  custom: {
    50: '#d173c4',
    500: '#b827aa',
    950: '#000000',
  },
}
SCSS
$custom: #b827aa;
$custom-light: #d173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b827aa",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 305.793,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.22302,
    "h": 332.6
  },
  "luminance": 0.14544
}

Semantic roles & 50–950 ramp

primary
#B827AA
secondary
#71CA7A
accent
#E85040
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B827AA

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

Preview Lab → · Contrast checker → · Palette generator →

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