#B827A7#B827A7

#B827A7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.221 H 333.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B827A7
RGBrgb(184, 39, 167)
HSLhsl(307, 65%, 44%)
HSVhsv(307, 79%, 72%)
CMYKcmyk(0%, 78.8%, 9.2%, 27.8%)
CIE-LABlab(44.85, 68.29, -35.77)
CIE-LCHlch(44.85, 77.09, 332.36°)
OKLaboklab(55.4% 0.1979 -0.0982)
OKLCHoklch(55.4% 0.221 333.6)
XYZxyz(27.4680, 14.4338, 37.8911)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827A7 #27B838
analogous
#8027B8 #B827A7 #B8275F
triadic
#B827A7 #A7B827 #27A7B8
tetradic
#B827A7 #B88027 #27B838 #275FB8
square
#B827A7 #B88027 #27B838 #275FB8
split-complementary
#B827A7 #5FB827 #27B880
monochromatic
#53124B #861C79 #B827A7 #D845C6 #E277D6

Accessibility & contrast

On white

5.40
#B827A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B827A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827A7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827A7#FFFFFF#000000##FFFFFF
##B827A71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAA
Deuteranopia (green-blind)
#5B71A4
Tritanopia (blue-blind)
#C13766
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b827a7;
/* rgb */ color: rgb(184, 39, 167);
/* oklch */ color: oklch(55.4% 0.221 333.6);
Tailwind
colors: {
  custom: {
    50: '#d173c1',
    500: '#b827a7',
    950: '#000000',
  },
}
SCSS
$custom: #b827a7;
$custom-light: #d173c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b827a7",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 307.034,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.22095,
    "h": 333.6
  },
  "luminance": 0.14431
}

Semantic roles & 50–950 ramp

primary
#B827A7
secondary
#71CA7B
accent
#E85440
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B827A7

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

Preview Lab → · Contrast checker → · Palette generator →

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