#B827AD#B827AD

#B827AD is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.225 H 331.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B827AD
RGBrgb(184, 39, 173)
HSLhsl(305, 65%, 44%)
HSVhsv(305, 79%, 72%)
CMYKcmyk(0%, 78.8%, 6%, 27.8%)
CIE-LABlab(45.17, 69.19, -38.82)
CIE-LCHlch(45.17, 79.33, 330.70°)
OKLaboklab(55.73% 0.1981 -0.107)
OKLCHoklch(55.73% 0.225 331.6)
XYZxyz(28.0356, 14.6609, 40.8803)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827AD #27B832
analogous
#7A27B8 #B827AD #B82764
triadic
#B827AD #ADB827 #27ADB8
tetradic
#B827AD #B87A27 #27B832 #2764B8
square
#B827AD #B87A27 #27B832 #2764B8
split-complementary
#B827AD #64B827 #27B87A
monochromatic
#53124E #861C7E #B827AD #D845CC #E277DA

Accessibility & contrast

On white

5.34
#B827AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B827AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827AD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827AD#FFFFFF#000000##FFFFFF
##B827AD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175EB0
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#C03A6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b827ad;
/* rgb */ color: rgb(184, 39, 173);
/* oklch */ color: oklch(55.7% 0.225 331.6);
Tailwind
colors: {
  custom: {
    50: '#d173c6',
    500: '#b827ad',
    950: '#000000',
  },
}
SCSS
$custom: #b827ad;
$custom-light: #d173c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b827ad",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 304.552,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.22513,
    "h": 331.6
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#B827AD
secondary
#71CA78
accent
#E84D40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B827AD

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

Preview Lab → · Contrast checker → · Palette generator →

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