#8E5FE4#8E5FE4

#8E5FE4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.194 H 296.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8E5FE4
RGBrgb(142, 95, 228)
HSLhsl(261, 71%, 63%)
HSVhsv(261, 58%, 89%)
CMYKcmyk(37.7%, 58.3%, 0%, 10.6%)
CIE-LABlab(51.31, 47.44, -61.06)
CIE-LCHlch(51.31, 77.32, 307.84°)
OKLaboklab(60.04% 0.0861 -0.1735)
OKLCHoklch(60.04% 0.194 296.4)
XYZxyz(29.2475, 19.5361, 75.6137)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FE4 #B5E45F
analogous
#5F72E4 #8E5FE4 #D05FE4
triadic
#8E5FE4 #E48E5F #5FE48E
tetradic
#8E5FE4 #E45F72 #B5E45F #5FE4D0
square
#8E5FE4 #E45F72 #B5E45F #5FE4D0
split-complementary
#8E5FE4 #E4D05F #72E45F
monochromatic
#4F1DAC #692BDB #8E5FE4 #B393ED #D8C8F6

Accessibility & contrast

On white

4.28
#8E5FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8E5FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FE4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FE4#FFFFFF#000000##000000
##8E5FE41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#097BE8
Deuteranopia (green-blind)
#2878E1
Tritanopia (blue-blind)
#797C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5fe4;
/* rgb */ color: rgb(142, 95, 228);
/* oklch */ color: oklch(60.0% 0.194 296.4);
Tailwind
colors: {
  custom: {
    50: '#b48eed',
    500: '#8e5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fe4;
$custom-light: #b48eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fe4",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 261.203,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.19372,
    "h": 296.4
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#8E5FE4
secondary
#D6E7B8
accent
#D3128F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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