#B843D9#B843D9

#B843D9 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.231 H 317.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B843D9
RGBrgb(184, 67, 217)
HSLhsl(287, 66%, 56%)
HSVhsv(287, 69%, 85%)
CMYKcmyk(15.2%, 69.1%, 0%, 14.9%)
CIE-LABlab(50.94, 67.44, -55.15)
CIE-LCHlch(50.94, 87.12, 320.72°)
OKLaboklab(60.66% 0.1711 -0.1548)
OKLCHoklch(60.66% 0.231 317.9)
XYZxyz(34.2969, 19.2159, 67.5346)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B843D9 #64D943
analogous
#6D43D9 #B843D9 #D943AF
triadic
#B843D9 #D9B843 #43D9B8
tetradic
#B843D9 #D96D43 #64D943 #43AFD9
square
#B843D9 #D96D43 #64D943 #43AFD9
split-complementary
#B843D9 #AFD943 #43D96D
monochromatic
#6F1B86 #9925B9 #B843D9 #CB76E3 #DEA9EE

Accessibility & contrast

On white

4.34
#B843D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B843D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B843D9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B843D9#FFFFFF#000000##000000
##B843D91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#497DD6
Tritanopia (blue-blind)
#B76089
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b843d9;
/* rgb */ color: rgb(184, 67, 217);
/* oklch */ color: oklch(60.7% 0.231 317.9);
Tailwind
colors: {
  custom: {
    50: '#d181e5',
    500: '#b843d9',
    950: '#000000',
  },
}
SCSS
$custom: #b843d9;
$custom-light: #d181e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b843d9",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 286.8,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.23073,
    "h": 317.9
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#B843D9
secondary
#AADB9D
accent
#E93F64
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B843D9

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

Preview Lab → · Contrast checker → · Palette generator →

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