#B827BD#B827BD

#B827BD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.7% C 0.237 H 326.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B827BD
RGBrgb(184, 39, 189)
HSLhsl(298, 66%, 45%)
HSVhsv(298, 79%, 74%)
CMYKcmyk(2.6%, 79.4%, 0%, 25.9%)
CIE-LABlab(46.07, 71.68, -46.80)
CIE-LCHlch(46.07, 85.61, 326.86°)
OKLaboklab(56.66% 0.1977 -0.1302)
OKLCHoklch(56.66% 0.237 326.6)
XYZxyz(29.6775, 15.3176, 49.5277)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827BD #2CBD27
analogous
#6D27BD #B827BD #BD2777
triadic
#B827BD #BDB827 #27BDB8
tetradic
#B827BD #BD6D27 #2CBD27 #2777BD
square
#B827BD #BD6D27 #2CBD27 #2777BD
split-complementary
#B827BD #77BD27 #27BD6D
monochromatic
#551258 #871D8A #B827BD #D448D9 #E07BE4

Accessibility & contrast

On white

5.17
#B827BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B827BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827BD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827BD#FFFFFF#000000##FFFFFF
##B827BD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#4F73BA
Tritanopia (blue-blind)
#BD4373
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b827bd;
/* rgb */ color: rgb(184, 39, 189);
/* oklch */ color: oklch(56.7% 0.237 326.6);
Tailwind
colors: {
  custom: {
    50: '#d274d1',
    500: '#b827bd',
    950: '#000000',
  },
}
SCSS
$custom: #b827bd;
$custom-light: #d274d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b827bd",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 298,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.23668,
    "h": 326.6
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#B827BD
secondary
#77CC74
accent
#E93F45
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B827BD

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

Preview Lab → · Contrast checker → · Palette generator →

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