#B827B5#B827B5

#B827B5 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.231 H 329.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B827B5
RGBrgb(184, 39, 181)
HSLhsl(301, 65%, 44%)
HSVhsv(301, 79%, 72%)
CMYKcmyk(0%, 78.8%, 1.6%, 27.8%)
CIE-LABlab(45.61, 70.41, -42.85)
CIE-LCHlch(45.61, 82.42, 328.68°)
OKLaboklab(56.18% 0.198 -0.1187)
OKLCHoklch(56.18% 0.231 329.1)
XYZxyz(28.8329, 14.9798, 45.0799)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827B5 #27B82A
analogous
#7227B8 #B827B5 #B8276C
triadic
#B827B5 #B5B827 #27B5B8
tetradic
#B827B5 #B87227 #27B82A #276CB8
square
#B827B5 #B87227 #27B82A #276CB8
split-complementary
#B827B5 #6CB827 #27B872
monochromatic
#531252 #861C83 #B827B5 #D845D4 #E277E0

Accessibility & contrast

On white

5.26
#B827B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B827B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827B5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827B5#FFFFFF#000000##FFFFFF
##B827B51.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#5472B2
Tritanopia (blue-blind)
#BE3F6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b827b5;
/* rgb */ color: rgb(184, 39, 181);
/* oklch */ color: oklch(56.2% 0.231 329.1);
Tailwind
colors: {
  custom: {
    50: '#d173cc',
    500: '#b827b5',
    950: '#000000',
  },
}
SCSS
$custom: #b827b5;
$custom-light: #d173cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b827b5",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 181
  },
  "hsl": {
    "h": 301.241,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.23084,
    "h": 329.1
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#B827B5
secondary
#71CA73
accent
#E84340
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B827B5

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

Preview Lab → · Contrast checker → · Palette generator →

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