#8E3EE3#8E3EE3

#8E3EE3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.7% C 0.234 H 301.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8E3EE3
RGBrgb(142, 62, 227)
HSLhsl(269, 75%, 57%)
HSVhsv(269, 73%, 89%)
CMYKcmyk(37.4%, 72.7%, 0%, 11%)
CIE-LABlab(45.28, 63.49, -70.26)
CIE-LCHlch(45.28, 94.70, 312.10°)
OKLaboklab(55.67% 0.1208 -0.2005)
OKLCHoklch(55.67% 0.234 301.1)
XYZxyz(26.7397, 14.7419, 74.0949)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3EE3 #93E33E
analogous
#3E41E3 #8E3EE3 #E13EE3
triadic
#8E3EE3 #E38E3E #3EE38E
tetradic
#8E3EE3 #E33E41 #93E33E #3EE3E1
square
#8E3EE3 #E33E41 #93E33E #3EE3E1
split-complementary
#8E3EE3 #E3E13E #41E33E
monochromatic
#511591 #6F1DC7 #8E3EE3 #AD73EB #CDA9F3

Accessibility & contrast

On white

5.32
#8E3EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8E3EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3EE3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3EE3#FFFFFF#000000##FFFFFF
##8E3EE31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#7B678D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e3ee3;
/* rgb */ color: rgb(142, 62, 227);
/* oklch */ color: oklch(55.7% 0.234 301.1);
Tailwind
colors: {
  custom: {
    50: '#b67aed',
    500: '#8e3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8e3ee3;
$custom-light: #b67aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3ee3",
  "rgb": {
    "r": 142,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 269.091,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55673,
    "c": 0.23404,
    "h": 301.1
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#8E3EE3
secondary
#BFE09D
accent
#F13797
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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