#B847D1#B847D1

#B847D1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.219 H 319.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B847D1
RGBrgb(184, 71, 209)
HSLhsl(289, 60%, 55%)
HSVhsv(289, 66%, 82%)
CMYKcmyk(12%, 66%, 0%, 18%)
CIE-LABlab(51.04, 64.33, -50.43)
CIE-LCHlch(51.04, 81.73, 321.91°)
OKLaboklab(60.58% 0.1672 -0.141)
OKLCHoklch(60.58% 0.219 319.9)
XYZxyz(33.5276, 19.3019, 62.2688)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847D1 #60D147
analogous
#7347D1 #B847D1 #D147A5
triadic
#B847D1 #D1B847 #47D1B8
tetradic
#B847D1 #D17347 #60D147 #47A5D1
square
#B847D1 #D17347 #60D147 #47A5D1
split-complementary
#B847D1 #A5D147 #47D173
monochromatic
#6D207E #972CAF #B847D1 #CB78DD #DEA9E9

Accessibility & contrast

On white

4.32
#B847D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B847D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847D1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847D1#FFFFFF#000000##000000
##B847D11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1772D5
Deuteranopia (green-blind)
#527ECE
Tritanopia (blue-blind)
#B95F86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b847d1;
/* rgb */ color: rgb(184, 71, 209);
/* oklch */ color: oklch(60.6% 0.219 319.9);
Tailwind
colors: {
  custom: {
    50: '#d182e0',
    500: '#b847d1',
    950: '#000000',
  },
}
SCSS
$custom: #b847d1;
$custom-light: #d182e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b847d1",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 289.13,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.21873,
    "h": 319.9
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#B847D1
secondary
#A7D79D
accent
#E34561
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B847D1

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

Preview Lab → · Contrast checker → · Palette generator →

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