#B843EF#B843EF

#B843EF is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.1% C 0.250 H 312.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B843EF
RGBrgb(184, 67, 239)
HSLhsl(281, 84%, 60%)
HSVhsv(281, 72%, 94%)
CMYKcmyk(23%, 72%, 0%, 6.3%)
CIE-LABlab(52.33, 71.72, -65.35)
CIE-LCHlch(52.33, 97.02, 317.66°)
OKLaboklab(62.09% 0.1689 -0.1847)
OKLCHoklch(62.09% 0.25 312.4)
XYZxyz(37.3515, 20.4377, 83.6219)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B843EF #7AEF43
analogous
#6243EF #B843EF #EF43D0
triadic
#B843EF #EFB843 #43EFB8
tetradic
#B843EF #EF6243 #7AEF43 #43D0EF
square
#B843EF #EF6243 #7AEF43 #43D0EF
split-complementary
#B843EF #D0EF43 #43EF62
monochromatic
#780EA9 #A013E2 #B843EF #CD7BF4 #E3B4F9

Accessibility & contrast

On white

4.13
#B843EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B843EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B843EF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B843EF#FFFFFF#000000##000000
##B843EF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#2E7FEB
Tritanopia (blue-blind)
#B26996
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b843ef;
/* rgb */ color: rgb(184, 67, 239);
/* oklch */ color: oklch(62.1% 0.250 312.4);
Tailwind
colors: {
  custom: {
    50: '#d281f5',
    500: '#b843ef',
    950: '#000000',
  },
}
SCSS
$custom: #b843ef;
$custom-light: #d281f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b843ef",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 239
  },
  "hsl": {
    "h": 280.814,
    "s": 84.314,
    "l": 60
  },
  "oklch": {
    "l": 0.62092,
    "c": 0.25027,
    "h": 312.4
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#B843EF
secondary
#BBE8A6
accent
#FB2D6F
background
#FDF8FF
surface
#FBEFFE
border
#D4CAD6
text
#150B17
muted
#837C85

Preview Lab

Preview with #B843EF

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

Preview Lab → · Contrast checker → · Palette generator →

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