#B843BA#B843BA

#B843BA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.204 H 327.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B843BA
RGBrgb(184, 67, 186)
HSLhsl(299, 47%, 50%)
HSVhsv(299, 64%, 73%)
CMYKcmyk(1.1%, 64%, 0%, 27.1%)
CIE-LABlab(49.19, 61.82, -40.08)
CIE-LCHlch(49.19, 73.68, 327.04°)
OKLaboklab(58.84% 0.1714 -0.1109)
OKLCHoklch(58.84% 0.204 327.1)
XYZxyz(30.6367, 17.7518, 48.2576)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B843BA #45BA43
analogous
#7D43BA #B843BA #BA4380
triadic
#B843BA #BAB843 #43BAB8
tetradic
#B843BA #BA7D43 #45BA43 #4380BA
square
#B843BA #BA7D43 #45BA43 #4380BA
split-complementary
#B843BA #80BA43 #43BA7D
monochromatic
#5F2360 #8B338D #B843BA #CA6FCB #DA9CDB

Accessibility & contrast

On white

4.62
#B843BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B843BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B843BA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B843BA#FFFFFF#000000##FFFFFF
##B843BA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBE
Deuteranopia (green-blind)
#5E7AB7
Tritanopia (blue-blind)
#BD5379
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b843ba;
/* rgb */ color: rgb(184, 67, 186);
/* oklch */ color: oklch(58.8% 0.204 327.1);
Tailwind
colors: {
  custom: {
    50: '#d180cf',
    500: '#b843ba',
    950: '#000000',
  },
}
SCSS
$custom: #b843ba;
$custom-light: #d180cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b843ba",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 298.992,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.20412,
    "h": 327.1
  },
  "luminance": 0.1775
}

Semantic roles & 50–950 ramp

primary
#B843BA
secondary
#92C891
accent
#D75153
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B843BA

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

Preview Lab → · Contrast checker → · Palette generator →

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