#B847DD#B847DD

#B847DD is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.229 H 316.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B847DD
RGBrgb(184, 71, 221)
HSLhsl(285, 69%, 57%)
HSVhsv(285, 68%, 87%)
CMYKcmyk(16.7%, 67.9%, 0%, 13.3%)
CIE-LABlab(51.75, 66.61, -56.13)
CIE-LCHlch(51.75, 87.11, 319.88°)
OKLaboklab(61.31% 0.1667 -0.1577)
OKLCHoklch(61.31% 0.229 316.6)
XYZxyz(35.0696, 19.9187, 70.3900)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847DD #6CDD47
analogous
#6D47DD #B847DD #DD47B7
triadic
#B847DD #DDB847 #47DDB8
tetradic
#B847DD #DD6D47 #6CDD47 #47B7DD
square
#B847DD #DD6D47 #6CDD47 #47B7DD
split-complementary
#B847DD #B7DD47 #47DD6D
monochromatic
#721A8F #9C24C3 #B847DD #CC7BE7 #E0AEF0

Accessibility & contrast

On white

4.21
#B847DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B847DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847DD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847DD#FFFFFF#000000##000000
##B847DD1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#B6648D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b847dd;
/* rgb */ color: rgb(184, 71, 221);
/* oklch */ color: oklch(61.3% 0.229 316.6);
Tailwind
colors: {
  custom: {
    50: '#d183e8',
    500: '#b847dd',
    950: '#000000',
  },
}
SCSS
$custom: #b847dd;
$custom-light: #d183e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b847dd",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 285.2,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61314,
    "c": 0.22948,
    "h": 316.6
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#B847DD
secondary
#B1DEA2
accent
#EC3C67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B847DD

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

Preview Lab → · Contrast checker → · Palette generator →

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