#B827AF#B827AF

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

Color values

HEX#B827AF
RGBrgb(184, 39, 175)
HSLhsl(304, 65%, 44%)
HSVhsv(304, 79%, 72%)
CMYKcmyk(0%, 78.8%, 4.9%, 27.8%)
CIE-LABlab(45.27, 69.49, -39.84)
CIE-LCHlch(45.27, 80.10, 330.18°)
OKLaboklab(55.84% 0.1981 -0.1099)
OKLCHoklch(55.84% 0.227 331)
XYZxyz(28.2305, 14.7389, 41.9072)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827AF #27B830
analogous
#7827B8 #B827AF #B82766
triadic
#B827AF #AFB827 #27AFB8
tetradic
#B827AF #B87827 #27B830 #2766B8
square
#B827AF #B87827 #27B830 #2766B8
split-complementary
#B827AF #66B827 #27B878
monochromatic
#53124F #861C7F #B827AF #D845CE #E277DC

Accessibility & contrast

On white

5.32
#B827AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B827AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827AF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827AF#FFFFFF#000000##FFFFFF
##B827AF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135FB3
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#BF3C6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b827af;
/* rgb */ color: rgb(184, 39, 175);
/* oklch */ color: oklch(55.8% 0.227 331.0);
Tailwind
colors: {
  custom: {
    50: '#d173c7',
    500: '#b827af',
    950: '#000000',
  },
}
SCSS
$custom: #b827af;
$custom-light: #d173c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b827af",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 303.724,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.22654,
    "h": 331
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#B827AF
secondary
#71CA76
accent
#E84A40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B827AF

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

Preview Lab → · Contrast checker → · Palette generator →

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