#B847CC#B847CC

#B847CC is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.3% C 0.214 H 321.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B847CC
RGBrgb(184, 71, 204)
HSLhsl(291, 57%, 54%)
HSVhsv(291, 65%, 80%)
CMYKcmyk(9.8%, 65.2%, 0%, 20%)
CIE-LABlab(50.76, 63.39, -48.01)
CIE-LCHlch(50.76, 79.52, 322.86°)
OKLaboklab(60.29% 0.1673 -0.1339)
OKLCHoklch(60.29% 0.214 321.3)
XYZxyz(32.9183, 19.0581, 59.0597)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847CC #5BCC47
analogous
#7647CC #B847CC #CC479E
triadic
#B847CC #CCB847 #47CCB8
tetradic
#B847CC #CC7647 #5BCC47 #479ECC
square
#B847CC #CC7647 #5BCC47 #479ECC
split-complementary
#B847CC #9ECC47 #47CC76
monochromatic
#6A2177 #952EA7 #B847CC #CA77D9 #DDA7E7

Accessibility & contrast

On white

4.36
#B847CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B847CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847CC#FFFFFF#000000##000000
##B847CC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#BA5D84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b847cc;
/* rgb */ color: rgb(184, 71, 204);
/* oklch */ color: oklch(60.3% 0.214 321.3);
Tailwind
colors: {
  custom: {
    50: '#d182dc',
    500: '#b847cc',
    950: '#000000',
  },
}
SCSS
$custom: #b847cc;
$custom-light: #d182dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b847cc",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 290.977,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60285,
    "c": 0.2143,
    "h": 321.3
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#B847CC
secondary
#A4D49B
accent
#E0485F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B847CC

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

Preview Lab → · Contrast checker → · Palette generator →

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