#B847E5#B847E5

#B847E5 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.8% C 0.237 H 314.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B847E5
RGBrgb(184, 71, 229)
HSLhsl(283, 75%, 59%)
HSVhsv(283, 69%, 90%)
CMYKcmyk(19.7%, 69%, 0%, 10.2%)
CIE-LABlab(52.24, 68.18, -59.87)
CIE-LCHlch(52.24, 90.73, 318.71°)
OKLaboklab(61.82% 0.1661 -0.1686)
OKLCHoklch(61.82% 0.237 314.6)
XYZxyz(36.1609, 20.3552, 76.1377)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847E5 #74E547
analogous
#6947E5 #B847E5 #E547C3
triadic
#B847E5 #E5B847 #47E5B8
tetradic
#B847E5 #E56947 #74E547 #47C3E5
square
#B847E5 #E56947 #74E547 #47C3E5
split-complementary
#B847E5 #C3E547 #47E569
monochromatic
#76169C #9E1ED1 #B847E5 #CD7DED #E1B2F4

Accessibility & contrast

On white

4.14
#B847E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B847E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847E5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847E5#FFFFFF#000000##000000
##B847E51.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#407FE1
Tritanopia (blue-blind)
#B46791
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b847e5;
/* rgb */ color: rgb(184, 71, 229);
/* oklch */ color: oklch(61.8% 0.237 314.6);
Tailwind
colors: {
  custom: {
    50: '#d283ee',
    500: '#b847e5',
    950: '#000000',
  },
}
SCSS
$custom: #b847e5;
$custom-light: #d283ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b847e5",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 282.911,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.23672,
    "h": 314.6
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#B847E5
secondary
#B7E3A5
accent
#F2366B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B847E5

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

Preview Lab → · Contrast checker → · Palette generator →

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