#B847DA#B847DA

#B847DA is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.1% C 0.227 H 317.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B847DA
RGBrgb(184, 71, 218)
HSLhsl(286, 67%, 57%)
HSVhsv(286, 67%, 85%)
CMYKcmyk(15.6%, 67.4%, 0%, 14.5%)
CIE-LABlab(51.56, 66.04, -54.72)
CIE-LCHlch(51.56, 85.76, 320.36°)
OKLaboklab(61.13% 0.1669 -0.1535)
OKLCHoklch(61.13% 0.227 317.4)
XYZxyz(34.6735, 19.7602, 68.3037)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847DA #69DA47
analogous
#6E47DA #B847DA #DA47B3
triadic
#B847DA #DAB847 #47DAB8
tetradic
#B847DA #DA6E47 #69DA47 #47B3DA
square
#B847DA #DA6E47 #69DA47 #47B3DA
split-complementary
#B847DA #B3DA47 #47DA6E
monochromatic
#711C8B #9B26BE #B847DA #CC7AE4 #DFADEE

Accessibility & contrast

On white

4.24
#B847DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B847DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847DA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847DA#FFFFFF#000000##000000
##B847DA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#4B7ED7
Tritanopia (blue-blind)
#B7638B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b847da;
/* rgb */ color: rgb(184, 71, 218);
/* oklch */ color: oklch(61.1% 0.227 317.4);
Tailwind
colors: {
  custom: {
    50: '#d183e6',
    500: '#b847da',
    950: '#000000',
  },
}
SCSS
$custom: #b847da;
$custom-light: #d183e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b847da",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 286.122,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61127,
    "c": 0.22678,
    "h": 317.4
  },
  "luminance": 0.19759
}

Semantic roles & 50–950 ramp

primary
#B847DA
secondary
#AEDCA0
accent
#E93E66
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B847DA

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

Preview Lab → · Contrast checker → · Palette generator →

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