#8E4BE3#8E4BE3

#8E4BE3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.219 H 299.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E4BE3
RGBrgb(142, 75, 227)
HSLhsl(266, 73%, 59%)
HSVhsv(266, 67%, 89%)
CMYKcmyk(37.4%, 67%, 0%, 11%)
CIE-LABlab(47.40, 57.55, -66.81)
CIE-LCHlch(47.40, 88.18, 310.74°)
OKLaboklab(57.18% 0.1082 -0.1904)
OKLCHoklch(57.18% 0.219 299.6)
XYZxyz(27.5331, 16.3287, 74.3593)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BE3 #A0E34B
analogous
#4B54E3 #8E4BE3 #DA4BE3
triadic
#8E4BE3 #E38E4B #4BE38E
tetradic
#8E4BE3 #E34B54 #A0E34B #4BE3DA
square
#8E4BE3 #E34B54 #A0E34B #4BE3DA
split-complementary
#8E4BE3 #E3DA4B #54E34B
monochromatic
#52189B #6E20D0 #8E4BE3 #AF80EB #D0B5F3

Accessibility & contrast

On white

4.92
#8E4BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8E4BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BE3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BE3#FFFFFF#000000##FFFFFF
##8E4BE31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#7B6F91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4be3;
/* rgb */ color: rgb(142, 75, 227);
/* oklch */ color: oklch(57.2% 0.219 299.6);
Tailwind
colors: {
  custom: {
    50: '#b582ed',
    500: '#8e4be3',
    950: '#000000',
  },
}
SCSS
$custom: #8e4be3;
$custom-light: #b582ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4be3",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 266.447,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.219,
    "h": 299.6
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#8E4BE3
secondary
#C8E3A7
accent
#F0389F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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