#B847E1#B847E1

#B847E1 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.233 H 315.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B847E1
RGBrgb(184, 71, 225)
HSLhsl(284, 72%, 58%)
HSVhsv(284, 68%, 88%)
CMYKcmyk(18.2%, 68.4%, 0%, 11.8%)
CIE-LABlab(51.99, 67.39, -58.01)
CIE-LCHlch(51.99, 88.92, 319.28°)
OKLaboklab(61.57% 0.1665 -0.1632)
OKLCHoklch(61.57% 0.233 315.6)
XYZxyz(35.6089, 20.1344, 73.2301)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847E1 #70E147
analogous
#6B47E1 #B847E1 #E147BD
triadic
#B847E1 #E1B847 #47E1B8
tetradic
#B847E1 #E16B47 #70E147 #47BDE1
square
#B847E1 #E16B47 #70E147 #47BDE1
split-complementary
#B847E1 #BDE147 #47E16B
monochromatic
#741895 #9D21CA #B847E1 #CC7CEA #E1B0F2

Accessibility & contrast

On white

4.18
#B847E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B847E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847E1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847E1#FFFFFF#000000##000000
##B847E11.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#447FDD
Tritanopia (blue-blind)
#B5668F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b847e1;
/* rgb */ color: rgb(184, 71, 225);
/* oklch */ color: oklch(61.6% 0.233 315.6);
Tailwind
colors: {
  custom: {
    50: '#d183eb',
    500: '#b847e1',
    950: '#000000',
  },
}
SCSS
$custom: #b847e1;
$custom-light: #d183eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b847e1",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 284.026,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.2331,
    "h": 315.6
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#B847E1
secondary
#B4E1A3
accent
#EF3969
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B847E1

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

Preview Lab → · Contrast checker → · Palette generator →

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