#8E3BD8#8E3BD8

#8E3BD8 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.226 H 303.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8E3BD8
RGBrgb(142, 59, 216)
HSLhsl(272, 67%, 54%)
HSVhsv(272, 73%, 85%)
CMYKcmyk(34.3%, 72.7%, 0%, 15.3%)
CIE-LABlab(44.00, 62.22, -66.07)
CIE-LCHlch(44.00, 90.76, 313.28°)
OKLaboklab(54.51% 0.1257 -0.1882)
OKLCHoklch(54.51% 0.226 303.7)
XYZxyz(25.1111, 13.8366, 66.3003)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BD8 #85D83B
analogous
#403BD8 #8E3BD8 #D83BD4
triadic
#8E3BD8 #D88E3B #3BD88E
tetradic
#8E3BD8 #D8403B #85D83B #3BD4D8
square
#8E3BD8 #D8403B #85D83B #3BD4D8
split-complementary
#8E3BD8 #D4D83B #3BD840
monochromatic
#4F197F #6F23B2 #8E3BD8 #AB6EE2 #C9A1EC

Accessibility & contrast

On white

5.57
#8E3BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8E3BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BD8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BD8#FFFFFF#000000##FFFFFF
##8E3BD81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#7F6286
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e3bd8;
/* rgb */ color: rgb(142, 59, 216);
/* oklch */ color: oklch(54.5% 0.226 303.7);
Tailwind
colors: {
  custom: {
    50: '#b578e5',
    500: '#8e3bd8',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bd8;
$custom-light: #b578e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bd8",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 216
  },
  "hsl": {
    "h": 271.72,
    "s": 66.809,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.22626,
    "h": 303.7
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#8E3BD8
secondary
#B5D996
accent
#EA3E8F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E3BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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