#B843C7#B843C7

#B843C7 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.215 H 323.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B843C7
RGBrgb(184, 67, 199)
HSLhsl(293, 54%, 52%)
HSVhsv(293, 66%, 78%)
CMYKcmyk(7.5%, 66.3%, 0%, 22%)
CIE-LABlab(49.89, 64.11, -46.51)
CIE-LCHlch(49.89, 79.20, 324.04°)
OKLaboklab(59.57% 0.1717 -0.1295)
OKLCHoklch(59.57% 0.215 323)
XYZxyz(32.0821, 18.3300, 55.8699)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B843C7 #52C743
analogous
#7643C7 #B843C7 #C74394
triadic
#B843C7 #C7B843 #43C7B8
tetradic
#B843C7 #C77643 #52C743 #4394C7
square
#B843C7 #C77643 #52C743 #4394C7
split-complementary
#B843C7 #94C743 #43C776
monochromatic
#66216F #912F9E #B843C7 #CA72D5 #DCA1E3

Accessibility & contrast

On white

4.50
#B843C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B843C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B843C7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B843C7#FFFFFF#000000##000000
##B843C71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#567BC4
Tritanopia (blue-blind)
#BB5980
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b843c7;
/* rgb */ color: rgb(184, 67, 199);
/* oklch */ color: oklch(59.6% 0.215 323.0);
Tailwind
colors: {
  custom: {
    50: '#d180d8',
    500: '#b843c7',
    950: '#000000',
  },
}
SCSS
$custom: #b843c7;
$custom-light: #d180d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b843c7",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 293.182,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59574,
    "c": 0.21509,
    "h": 323
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#B843C7
secondary
#9DD096
accent
#DD4A5B
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B843C7

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

Preview Lab → · Contrast checker → · Palette generator →

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