#B847BA#B847BA

#B847BA is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.3% C 0.199 H 327.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B847BA
RGBrgb(184, 71, 186)
HSLhsl(299, 45%, 50%)
HSVhsv(299, 62%, 73%)
CMYKcmyk(1.1%, 61.8%, 0%, 27.1%)
CIE-LABlab(49.79, 60.16, -39.14)
CIE-LCHlch(49.79, 71.77, 326.95°)
OKLaboklab(59.28% 0.1667 -0.1082)
OKLCHoklch(59.28% 0.199 327)
XYZxyz(30.8828, 18.2440, 48.3397)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847BA #49BA47
analogous
#7F47BA #B847BA #BA4782
triadic
#B847BA #BAB847 #47BAB8
tetradic
#B847BA #BA7F47 #49BA47 #4782BA
square
#B847BA #BA7F47 #49BA47 #4782BA
split-complementary
#B847BA #82BA47 #47BA7F
monochromatic
#612562 #8D358E #B847BA #C974CB #DAA0DB

Accessibility & contrast

On white

4.52
#B847BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B847BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847BA#FFFFFF#000000##000000
##B847BA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#BD567A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b847ba;
/* rgb */ color: rgb(184, 71, 186);
/* oklch */ color: oklch(59.3% 0.199 327.0);
Tailwind
colors: {
  custom: {
    50: '#d082cf',
    500: '#b847ba',
    950: '#000000',
  },
}
SCSS
$custom: #b847ba;
$custom-light: #d082cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b847ba",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 298.957,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.19874,
    "h": 327
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

primary
#B847BA
secondary
#96C895
accent
#D55355
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B847BA

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

Preview Lab → · Contrast checker → · Palette generator →

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