#B847DB#B847DB

#B847DB is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.228 H 317.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B847DB
RGBrgb(184, 71, 219)
HSLhsl(286, 67%, 57%)
HSVhsv(286, 68%, 86%)
CMYKcmyk(16%, 67.6%, 0%, 14.1%)
CIE-LABlab(51.62, 66.23, -55.19)
CIE-LCHlch(51.62, 86.21, 320.19°)
OKLaboklab(61.19% 0.1669 -0.1549)
OKLCHoklch(61.19% 0.228 317.1)
XYZxyz(34.8047, 19.8127, 68.9950)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847DB #6ADB47
analogous
#6E47DB #B847DB #DB47B4
triadic
#B847DB #DBB847 #47DBB8
tetradic
#B847DB #DB6E47 #6ADB47 #47B4DB
square
#B847DB #DB6E47 #6ADB47 #47B4DB
split-complementary
#B847DB #B4DB47 #47DB6E
monochromatic
#721B8C #9B25BF #B847DB #CC7AE5 #E0ADEF

Accessibility & contrast

On white

4.23
#B847DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B847DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847DB#FFFFFF#000000##000000
##B847DB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#4A7ED8
Tritanopia (blue-blind)
#B6638C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b847db;
/* rgb */ color: rgb(184, 71, 219);
/* oklch */ color: oklch(61.2% 0.228 317.1);
Tailwind
colors: {
  custom: {
    50: '#d183e7',
    500: '#b847db',
    950: '#000000',
  },
}
SCSS
$custom: #b847db;
$custom-light: #d183e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b847db",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 285.811,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61189,
    "c": 0.22768,
    "h": 317.1
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#B847DB
secondary
#AFDDA1
accent
#EA3E66
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B847DB

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

Preview Lab → · Contrast checker → · Palette generator →

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