#B847D4#B847D4

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

Color values

HEX#B847D4
RGBrgb(184, 71, 212)
HSLhsl(288, 62%, 55%)
HSVhsv(288, 67%, 83%)
CMYKcmyk(13.2%, 66.5%, 0%, 16.9%)
CIE-LABlab(51.21, 64.89, -51.86)
CIE-LCHlch(51.21, 83.07, 321.37°)
OKLaboklab(60.76% 0.1672 -0.1452)
OKLCHoklch(60.76% 0.221 319)
XYZxyz(33.9025, 19.4518, 64.2434)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847D4 #63D447
analogous
#7147D4 #B847D4 #D447AA
triadic
#B847D4 #D4B847 #47D4B8
tetradic
#B847D4 #D47147 #63D447 #47AAD4
square
#B847D4 #D47147 #63D447 #47AAD4
split-complementary
#B847D4 #AAD447 #47D471
monochromatic
#6E1E82 #982AB4 #B847D4 #CB79E0 #DEAAEB

Accessibility & contrast

On white

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

On black

4.89
#B847D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847D4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847D4#FFFFFF#000000##000000
##B847D41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E72D8
Deuteranopia (green-blind)
#507ED1
Tritanopia (blue-blind)
#B86088
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b847d4;
/* rgb */ color: rgb(184, 71, 212);
/* oklch */ color: oklch(60.8% 0.221 319.0);
Tailwind
colors: {
  custom: {
    50: '#d183e2',
    500: '#b847d4',
    950: '#000000',
  },
}
SCSS
$custom: #b847d4;
$custom-light: #d183e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b847d4",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 288.085,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.2214,
    "h": 319
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B847D4

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

Preview Lab → · Contrast checker → · Palette generator →

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