#B847C2#B847C2

#B847C2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.206 H 324.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B847C2
RGBrgb(184, 71, 194)
HSLhsl(295, 50%, 52%)
HSVhsv(295, 63%, 76%)
CMYKcmyk(5.2%, 63.4%, 0%, 23.9%)
CIE-LABlab(50.21, 61.57, -43.12)
CIE-LCHlch(50.21, 75.17, 325.00°)
OKLaboklab(59.71% 0.1671 -0.1197)
OKLCHoklch(59.71% 0.206 324.4)
XYZxyz(31.7572, 18.5937, 52.9447)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B847C2 #51C247
analogous
#7B47C2 #B847C2 #C2478F
triadic
#B847C2 #C2B847 #47C2B8
tetradic
#B847C2 #C27B47 #51C247 #478FC2
square
#B847C2 #C27B47 #51C247 #478FC2
split-complementary
#B847C2 #8FC247 #47C27B
monochromatic
#65246B #913399 #B847C2 #CA75D1 #DBA3E0

Accessibility & contrast

On white

4.45
#B847C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B847C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B847C2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B847C2#FFFFFF#000000##000000
##B847C21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#BC597E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b847c2;
/* rgb */ color: rgb(184, 71, 194);
/* oklch */ color: oklch(59.7% 0.206 324.4);
Tailwind
colors: {
  custom: {
    50: '#d082d5',
    500: '#b847c2',
    950: '#000000',
  },
}
SCSS
$custom: #b847c2;
$custom-light: #d082d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b847c2",
  "rgb": {
    "r": 184,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 295.122,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.20557,
    "h": 324.4
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#B847C2
secondary
#9CCD97
accent
#DA4E59
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B847C2

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

Preview Lab → · Contrast checker → · Palette generator →

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