#8E3FD8#8E3FD8

#8E3FD8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.222 H 303.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8E3FD8
RGBrgb(142, 63, 216)
HSLhsl(271, 66%, 55%)
HSVhsv(271, 71%, 85%)
CMYKcmyk(34.3%, 70.8%, 0%, 15.3%)
CIE-LABlab(44.61, 60.50, -65.08)
CIE-LCHlch(44.61, 88.85, 312.91°)
OKLaboklab(54.94% 0.1219 -0.1853)
OKLCHoklch(54.94% 0.222 303.3)
XYZxyz(25.3246, 14.2637, 66.3714)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3FD8 #89D83F
analogous
#413FD8 #8E3FD8 #D83FD6
triadic
#8E3FD8 #D88E3F #3FD88E
tetradic
#8E3FD8 #D8413F #89D83F #3FD6D8
square
#8E3FD8 #D8413F #89D83F #3FD6D8
split-complementary
#8E3FD8 #D6D83F #3FD841
monochromatic
#501A82 #6F25B5 #8E3FD8 #AC72E2 #CAA5ED

Accessibility & contrast

On white

5.45
#8E3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8E3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3FD8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3FD8#FFFFFF#000000##FFFFFF
##8E3FD81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#7F6488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e3fd8;
/* rgb */ color: rgb(142, 63, 216);
/* oklch */ color: oklch(54.9% 0.222 303.3);
Tailwind
colors: {
  custom: {
    50: '#b57be5',
    500: '#8e3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8e3fd8;
$custom-light: #b57be5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3fd8",
  "rgb": {
    "r": 142,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 270.98,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54941,
    "c": 0.22176,
    "h": 303.3
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#8E3FD8
secondary
#B8DA99
accent
#E93F91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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