#B847D2#B847D2

#B847D2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.220 H 319.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B847D2
RGBrgb(184, 71, 210)
HSLhsl(289, 61%, 55%)
HSVhsv(289, 66%, 82%)
CMYKcmyk(12.4%, 66.2%, 0%, 17.6%)
CIE-LABlab(51.10, 64.51, -50.91)
CIE-LCHlch(51.10, 82.18, 321.72°)
OKLaboklab(60.64% 0.1672 -0.1424)
OKLCHoklch(60.64% 0.22 319.6)
XYZxyz(33.6518, 19.3515, 62.9229)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847D2 #61D247
analogous
#7247D2 #B847D2 #D247A7
triadic
#B847D2 #D2B847 #47D2B8
tetradic
#B847D2 #D27247 #61D247 #47A7D2
square
#B847D2 #D27247 #61D247 #47A7D2
split-complementary
#B847D2 #A7D247 #47D272
monochromatic
#6D1F7F #982BB1 #B847D2 #CB78DE #DEA9EA

Accessibility & contrast

On white

4.31
#B847D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B847D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847D2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847D2#FFFFFF#000000##000000
##B847D21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1572D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#B86087
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b847d2;
/* rgb */ color: rgb(184, 71, 210);
/* oklch */ color: oklch(60.6% 0.220 319.6);
Tailwind
colors: {
  custom: {
    50: '#d182e0',
    500: '#b847d2',
    950: '#000000',
  },
}
SCSS
$custom: #b847d2;
$custom-light: #d182e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b847d2",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 288.777,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.21962,
    "h": 319.6
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#B847D2
secondary
#A8D89D
accent
#E44462
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B847D2

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

Preview Lab → · Contrast checker → · Palette generator →

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