#B843E6#B843E6

#B843E6 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.5% C 0.242 H 314.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B843E6
RGBrgb(184, 67, 230)
HSLhsl(283, 77%, 58%)
HSVhsv(283, 71%, 90%)
CMYKcmyk(20%, 70.9%, 0%, 9.8%)
CIE-LABlab(51.75, 69.94, -61.22)
CIE-LCHlch(51.75, 92.95, 318.80°)
OKLaboklab(61.49% 0.17 -0.1726)
OKLCHoklch(61.49% 0.242 314.6)
XYZxyz(36.0549, 19.9191, 76.7931)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B843E6 #71E643
analogous
#6643E6 #B843E6 #E643C3
triadic
#B843E6 #E6B843 #43E6B8
tetradic
#B843E6 #E66643 #71E643 #43C3E6
square
#B843E6 #E66643 #71E643 #43C3E6
split-complementary
#B843E6 #C3E643 #43E666
monochromatic
#74149A #9D1CD0 #B843E6 #CC79ED #E1AFF4

Accessibility & contrast

On white

4.21
#B843E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B843E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B843E6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B843E6#FFFFFF#000000##000000
##B843E61.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#B46591
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b843e6;
/* rgb */ color: rgb(184, 67, 230);
/* oklch */ color: oklch(61.5% 0.242 314.6);
Tailwind
colors: {
  custom: {
    50: '#d281ef',
    500: '#b843e6',
    950: '#000000',
  },
}
SCSS
$custom: #b843e6;
$custom-light: #d281ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b843e6",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 230
  },
  "hsl": {
    "h": 283.067,
    "s": 76.526,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.24223,
    "h": 314.6
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#B843E6
secondary
#B4E3A2
accent
#F3356A
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B843E6

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

Preview Lab → · Contrast checker → · Palette generator →

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