#8E5FF4#8E5FF4

#8E5FF4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.1% C 0.213 H 293.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8E5FF4
RGBrgb(142, 95, 244)
HSLhsl(259, 87%, 66%)
HSVhsv(259, 61%, 96%)
CMYKcmyk(41.8%, 61.1%, 0%, 4.3%)
CIE-LABlab(52.36, 51.62, -68.33)
CIE-LCHlch(52.36, 85.64, 307.07°)
OKLaboklab(61.14% 0.0854 -0.1949)
OKLCHoklch(61.14% 0.213 293.7)
XYZxyz(31.5723, 20.4660, 87.8573)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FF4 #C5F45F
analogous
#5F7BF4 #8E5FF4 #D95FF4
triadic
#8E5FF4 #F48E5F #5FF48E
tetradic
#8E5FF4 #F45F7B #C5F45F #5FF4D9
square
#8E5FF4 #F45F7B #C5F45F #5FF4D9
split-complementary
#8E5FF4 #F4D95F #7BF45F
monochromatic
#490ECB #6626F0 #8E5FF4 #B698F8 #DFD2FC

Accessibility & contrast

On white

4.12
#8E5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8E5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FF4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FF4#FFFFFF#000000##000000
##8E5FF41.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#7281A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8e5ff4;
/* rgb */ color: rgb(142, 95, 244);
/* oklch */ color: oklch(61.1% 0.213 293.7);
Tailwind
colors: {
  custom: {
    50: '#b58ef9',
    500: '#8e5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ff4;
$custom-light: #b58ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ff4",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 258.926,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.21282,
    "h": 293.7
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#8E5FF4
secondary
#E0F0BF
accent
#E4029C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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