#8E3BDA#8E3BDA

#8E3BDA is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.228 H 303.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8E3BDA
RGBrgb(142, 59, 218)
HSLhsl(271, 68%, 54%)
HSVhsv(271, 73%, 85%)
CMYKcmyk(34.9%, 72.9%, 0%, 14.5%)
CIE-LABlab(44.15, 62.68, -66.97)
CIE-LCHlch(44.15, 91.73, 313.10°)
OKLaboklab(54.66% 0.1253 -0.1908)
OKLCHoklch(54.66% 0.228 303.3)
XYZxyz(25.3712, 13.9407, 67.6703)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BDA #87DA3B
analogous
#3F3BDA #8E3BDA #DA3BD6
triadic
#8E3BDA #DA8E3B #3BDA8E
tetradic
#8E3BDA #DA3F3B #87DA3B #3BD6DA
square
#8E3BDA #DA3F3B #87DA3B #3BD6DA
split-complementary
#8E3BDA #D6DA3B #3BDA3F
monochromatic
#501982 #6F22B6 #8E3BDA #AC6EE4 #C9A2ED

Accessibility & contrast

On white

5.54
#8E3BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8E3BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BDA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BDA#FFFFFF#000000##FFFFFF
##8E3BDA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#7F6288
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e3bda;
/* rgb */ color: rgb(142, 59, 218);
/* oklch */ color: oklch(54.7% 0.228 303.3);
Tailwind
colors: {
  custom: {
    50: '#b579e6',
    500: '#8e3bda',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bda;
$custom-light: #b579e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bda",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 271.321,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.22826,
    "h": 303.3
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

primary
#8E3BDA
secondary
#B7DA97
accent
#EB3D90
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E3BDA

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

Preview Lab → · Contrast checker → · Palette generator →

#8E3BDA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva