#B843D2#B843D2

#B843D2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.225 H 319.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B843D2
RGBrgb(184, 67, 210)
HSLhsl(289, 61%, 54%)
HSVhsv(289, 68%, 82%)
CMYKcmyk(12.4%, 68.1%, 0%, 17.6%)
CIE-LABlab(50.52, 66.12, -51.82)
CIE-LCHlch(50.52, 84.01, 321.91°)
OKLaboklab(60.23% 0.1715 -0.145)
OKLCHoklch(60.23% 0.225 319.8)
XYZxyz(33.4057, 18.8594, 62.8409)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B843D2 #5DD243
analogous
#7143D2 #B843D2 #D243A5
triadic
#B843D2 #D2B843 #43D2B8
tetradic
#B843D2 #D27143 #5DD243 #43A5D2
square
#B843D2 #D27143 #5DD243 #43A5D2
split-complementary
#B843D2 #A5D243 #43D271
monochromatic
#6B1E7D #962AAE #B843D2 #CB74DE #DDA6EA

Accessibility & contrast

On white

4.40
#B843D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B843D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B843D2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B843D2#FFFFFF#000000##000000
##B843D21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#4F7CCF
Tritanopia (blue-blind)
#B95D86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b843d2;
/* rgb */ color: rgb(184, 67, 210);
/* oklch */ color: oklch(60.2% 0.225 319.8);
Tailwind
colors: {
  custom: {
    50: '#d180e0',
    500: '#b843d2',
    950: '#000000',
  },
}
SCSS
$custom: #b843d2;
$custom-light: #d180e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b843d2",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 289.091,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.22459,
    "h": 319.8
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#B843D2
secondary
#A5D79A
accent
#E44361
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B843D2

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

Preview Lab → · Contrast checker → · Palette generator →

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