#B827C4#B827C4

#B827C4 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.1% C 0.242 H 324.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B827C4
RGBrgb(184, 39, 196)
HSLhsl(295, 67%, 46%)
HSVhsv(295, 80%, 77%)
CMYKcmyk(6.1%, 80.1%, 0%, 23.1%)
CIE-LABlab(46.48, 72.82, -50.21)
CIE-LCHlch(46.48, 88.45, 325.41°)
OKLaboklab(57.08% 0.1971 -0.1402)
OKLCHoklch(57.08% 0.242 324.6)
XYZxyz(30.4557, 15.6289, 53.6264)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B827C4 #33C427
analogous
#6927C4 #B827C4 #C42781
triadic
#B827C4 #C4B827 #27C4B8
tetradic
#B827C4 #C46927 #33C427 #2781C4
square
#B827C4 #C46927 #33C427 #2781C4
split-complementary
#B827C4 #81C427 #27C469
monochromatic
#58135E #881D91 #B827C4 #D14DDC #DE80E6

Accessibility & contrast

On white

5.09
#B827C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B827C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B827C4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B827C4#FFFFFF#000000##FFFFFF
##B827C41.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#4A74C0
Tritanopia (blue-blind)
#BC4777
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b827c4;
/* rgb */ color: rgb(184, 39, 196);
/* oklch */ color: oklch(57.1% 0.242 324.6);
Tailwind
colors: {
  custom: {
    50: '#d274d6',
    500: '#b827c4',
    950: '#000000',
  },
}
SCSS
$custom: #b827c4;
$custom-light: #d274d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b827c4",
  "rgb": {
    "r": 184,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 295.414,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.24188,
    "h": 324.6
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#B827C4
secondary
#7FCE79
accent
#EA3E4B
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150914
muted
#837B83

Preview Lab

Preview with #B827C4

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

Preview Lab → · Contrast checker → · Palette generator →

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