#8E4BE0#8E4BE0

#8E4BE0 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.216 H 300.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8E4BE0
RGBrgb(142, 75, 224)
HSLhsl(267, 71%, 59%)
HSVhsv(267, 67%, 88%)
CMYKcmyk(36.6%, 66.5%, 0%, 12.2%)
CIE-LABlab(47.19, 56.81, -65.45)
CIE-LCHlch(47.19, 86.67, 310.96°)
OKLaboklab(56.96% 0.1086 -0.1864)
OKLCHoklch(56.96% 0.216 300.2)
XYZxyz(27.1227, 16.1645, 72.1977)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BE0 #9DE04B
analogous
#4B52E0 #8E4BE0 #D84BE0
triadic
#8E4BE0 #E08E4B #4BE08E
tetradic
#8E4BE0 #E04B52 #9DE04B #4BE0D8
square
#8E4BE0 #E04B52 #9DE04B #4BE0D8
split-complementary
#8E4BE0 #E0D84B #52E04B
monochromatic
#521A97 #6E23CB #8E4BE0 #AF7FE9 #D0B3F2

Accessibility & contrast

On white

4.96
#8E4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8E4BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BE0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BE0#FFFFFF#000000##FFFFFF
##8E4BE01.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#7C6D8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4be0;
/* rgb */ color: rgb(142, 75, 224);
/* oklch */ color: oklch(57.0% 0.216 300.2);
Tailwind
colors: {
  custom: {
    50: '#b582eb',
    500: '#8e4be0',
    950: '#000000',
  },
}
SCSS
$custom: #8e4be0;
$custom-light: #b582eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4be0",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 266.98,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.21575,
    "h": 300.2
  },
  "luminance": 0.16165
}

Semantic roles & 50–950 ramp

primary
#8E4BE0
secondary
#C6E1A6
accent
#ED3A9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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