#B847D5#B847D5

#B847D5 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.8% C 0.222 H 318.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B847D5
RGBrgb(184, 71, 213)
HSLhsl(288, 63%, 56%)
HSVhsv(288, 67%, 84%)
CMYKcmyk(13.6%, 66.7%, 0%, 16.5%)
CIE-LABlab(51.27, 65.08, -52.34)
CIE-LCHlch(51.27, 83.52, 321.19°)
OKLaboklab(60.82% 0.1671 -0.1466)
OKLCHoklch(60.82% 0.222 318.7)
XYZxyz(34.0290, 19.5024, 64.9098)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847D5 #64D547
analogous
#7147D5 #B847D5 #D547AB
triadic
#B847D5 #D5B847 #47D5B8
tetradic
#B847D5 #D57147 #64D547 #47ABD5
square
#B847D5 #D57147 #64D547 #47ABD5
split-complementary
#B847D5 #ABD547 #47D571
monochromatic
#6F1E84 #9929B5 #B847D5 #CB79E0 #DEABEC

Accessibility & contrast

On white

4.29
#B847D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B847D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847D5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847D5#FFFFFF#000000##000000
##B847D51.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A73D9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#B86188
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b847d5;
/* rgb */ color: rgb(184, 71, 213);
/* oklch */ color: oklch(60.8% 0.222 318.7);
Tailwind
colors: {
  custom: {
    50: '#d183e2',
    500: '#b847d5',
    950: '#000000',
  },
}
SCSS
$custom: #b847d5;
$custom-light: #d183e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b847d5",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 287.746,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60821,
    "c": 0.2223,
    "h": 318.7
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#B847D5
secondary
#AAD99E
accent
#E64263
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B847D5

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

Preview Lab → · Contrast checker → · Palette generator →

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