#B827B0#B827B0

#B827B0 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.227 H 330.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B827B0
RGBrgb(184, 39, 176)
HSLhsl(303, 65%, 44%)
HSVhsv(303, 79%, 72%)
CMYKcmyk(0%, 78.8%, 4.3%, 27.8%)
CIE-LABlab(45.33, 69.64, -40.34)
CIE-LCHlch(45.33, 80.48, 329.92°)
OKLaboklab(55.89% 0.1981 -0.1114)
OKLCHoklch(55.89% 0.227 330.6)
XYZxyz(28.3291, 14.7783, 42.4263)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827B0 #27B82F
analogous
#7727B8 #B827B0 #B82767
triadic
#B827B0 #B0B827 #27B0B8
tetradic
#B827B0 #B87727 #27B82F #2767B8
square
#B827B0 #B87727 #27B82F #2767B8
split-complementary
#B827B0 #67B827 #27B877
monochromatic
#53124F #861C80 #B827B0 #D845CF #E277DC

Accessibility & contrast

On white

5.31
#B827B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B827B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827B0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827B0#FFFFFF#000000##FFFFFF
##B827B01.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB4
Deuteranopia (green-blind)
#5772AD
Tritanopia (blue-blind)
#BF3C6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b827b0;
/* rgb */ color: rgb(184, 39, 176);
/* oklch */ color: oklch(55.9% 0.227 330.6);
Tailwind
colors: {
  custom: {
    50: '#d173c8',
    500: '#b827b0',
    950: '#000000',
  },
}
SCSS
$custom: #b827b0;
$custom-light: #d173c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b827b0",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 303.31,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55894,
    "c": 0.22726,
    "h": 330.6
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B827B0

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

Preview Lab → · Contrast checker → · Palette generator →

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