#B843D5#B843D5

#B843D5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.227 H 318.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B843D5
RGBrgb(184, 67, 213)
HSLhsl(288, 63%, 55%)
HSVhsv(288, 69%, 84%)
CMYKcmyk(13.6%, 68.5%, 0%, 16.5%)
CIE-LABlab(50.70, 66.68, -53.25)
CIE-LCHlch(50.70, 85.34, 321.39°)
OKLaboklab(60.41% 0.1713 -0.1492)
OKLCHoklch(60.41% 0.227 318.9)
XYZxyz(33.7830, 19.0103, 64.8277)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B843D5 #60D543
analogous
#6F43D5 #B843D5 #D543A9
triadic
#B843D5 #D5B843 #43D5B8
tetradic
#B843D5 #D56F43 #60D543 #43A9D5
square
#B843D5 #D56F43 #60D543 #43A9D5
split-complementary
#B843D5 #A9D543 #43D56F
monochromatic
#6D1D81 #9728B3 #B843D5 #CB75E0 #DEA7EB

Accessibility & contrast

On white

4.37
#B843D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B843D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B843D5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B843D5#FFFFFF#000000##000000
##B843D51.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#4C7DD2
Tritanopia (blue-blind)
#B85E87
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b843d5;
/* rgb */ color: rgb(184, 67, 213);
/* oklch */ color: oklch(60.4% 0.227 318.9);
Tailwind
colors: {
  custom: {
    50: '#d181e3',
    500: '#b843d5',
    950: '#000000',
  },
}
SCSS
$custom: #b843d5;
$custom-light: #d181e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b843d5",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 288.082,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60411,
    "c": 0.22722,
    "h": 318.9
  },
  "luminance": 0.19009
}

Semantic roles & 50–950 ramp

primary
#B843D5
secondary
#A7D99B
accent
#E74162
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B843D5

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

Preview Lab → · Contrast checker → · Palette generator →

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