#B827B2#B827B2

#B827B2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.229 H 330.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B827B2
RGBrgb(184, 39, 178)
HSLhsl(302, 65%, 44%)
HSVhsv(302, 79%, 72%)
CMYKcmyk(0%, 78.8%, 3.3%, 27.8%)
CIE-LABlab(45.44, 69.95, -41.34)
CIE-LCHlch(45.44, 81.25, 329.41°)
OKLaboklab(56.01% 0.1981 -0.1143)
OKLCHoklch(56.01% 0.229 330)
XYZxyz(28.5284, 14.8580, 43.4762)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827B2 #27B82D
analogous
#7527B8 #B827B2 #B82769
triadic
#B827B2 #B2B827 #27B2B8
tetradic
#B827B2 #B87527 #27B82D #2769B8
square
#B827B2 #B87527 #27B82D #2769B8
split-complementary
#B827B2 #69B827 #27B875
monochromatic
#531250 #861C81 #B827B2 #D845D1 #E277DE

Accessibility & contrast

On white

5.29
#B827B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B827B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827B2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827B2#FFFFFF#000000##FFFFFF
##B827B21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB6
Deuteranopia (green-blind)
#5672AF
Tritanopia (blue-blind)
#BF3D6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b827b2;
/* rgb */ color: rgb(184, 39, 178);
/* oklch */ color: oklch(56.0% 0.229 330.0);
Tailwind
colors: {
  custom: {
    50: '#d173c9',
    500: '#b827b2',
    950: '#000000',
  },
}
SCSS
$custom: #b827b2;
$custom-light: #d173c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b827b2",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 302.483,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.22868,
    "h": 330
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#B827B2
secondary
#71CA75
accent
#E84740
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B827B2

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

Preview Lab → · Contrast checker → · Palette generator →

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