#B843DB#B843DB

#B843DB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.232 H 317.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B843DB
RGBrgb(184, 67, 219)
HSLhsl(286, 68%, 56%)
HSVhsv(286, 69%, 86%)
CMYKcmyk(16%, 69.4%, 0%, 14.1%)
CIE-LABlab(51.06, 67.82, -56.09)
CIE-LCHlch(51.06, 88.01, 320.40°)
OKLaboklab(60.79% 0.171 -0.1575)
OKLCHoklch(60.79% 0.232 317.3)
XYZxyz(34.5586, 19.3206, 68.9130)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B843DB #66DB43
analogous
#6C43DB #B843DB #DB43B2
triadic
#B843DB #DBB843 #43DBB8
tetradic
#B843DB #DB6C43 #66DB43 #43B2DB
square
#B843DB #DB6C43 #66DB43 #43B2DB
split-complementary
#B843DB #B2DB43 #43DB6C
monochromatic
#701A89 #9A24BD #B843DB #CB76E5 #DFAAEF

Accessibility & contrast

On white

4.32
#B843DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B843DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B843DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B843DB#FFFFFF#000000##000000
##B843DB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#477DD7
Tritanopia (blue-blind)
#B7618B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b843db;
/* rgb */ color: rgb(184, 67, 219);
/* oklch */ color: oklch(60.8% 0.232 317.3);
Tailwind
colors: {
  custom: {
    50: '#d181e7',
    500: '#b843db',
    950: '#000000',
  },
}
SCSS
$custom: #b843db;
$custom-light: #d181e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b843db",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 286.184,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.23249,
    "h": 317.3
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#B843DB
secondary
#ACDC9E
accent
#EB3D65
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B843DB

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

Preview Lab → · Contrast checker → · Palette generator →

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