#B827B3#B827B3

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

Color values

HEX#B827B3
RGBrgb(184, 39, 179)
HSLhsl(302, 65%, 44%)
HSVhsv(302, 79%, 72%)
CMYKcmyk(0%, 78.8%, 2.7%, 27.8%)
CIE-LABlab(45.49, 70.10, -41.85)
CIE-LCHlch(45.49, 81.64, 329.17°)
OKLaboklab(56.07% 0.1981 -0.1158)
OKLCHoklch(56.07% 0.229 329.7)
XYZxyz(28.6292, 14.8983, 44.0069)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827B3 #27B82C
analogous
#7427B8 #B827B3 #B8276A
triadic
#B827B3 #B3B827 #27B3B8
tetradic
#B827B3 #B87427 #27B82C #276AB8
square
#B827B3 #B87427 #27B82C #276AB8
split-complementary
#B827B3 #6AB827 #27B874
monochromatic
#531251 #861C82 #B827B3 #D845D2 #E277DF

Accessibility & contrast

On white

5.28
#B827B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B827B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827B3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827B3#FFFFFF#000000##FFFFFF
##B827B31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB7
Deuteranopia (green-blind)
#5572B0
Tritanopia (blue-blind)
#BF3E6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b827b3;
/* rgb */ color: rgb(184, 39, 179);
/* oklch */ color: oklch(56.1% 0.229 329.7);
Tailwind
colors: {
  custom: {
    50: '#d173ca',
    500: '#b827b3',
    950: '#000000',
  },
}
SCSS
$custom: #b827b3;
$custom-light: #d173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b827b3",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 302.069,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.22941,
    "h": 329.7
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#B827B3
secondary
#71CA74
accent
#E84640
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B827B3

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

Preview Lab → · Contrast checker → · Palette generator →

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