#8E5EF1#8E5EF1

#8E5EF1 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.211 H 294.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8E5EF1
RGBrgb(142, 94, 241)
HSLhsl(260, 84%, 66%)
HSVhsv(260, 61%, 95%)
CMYKcmyk(41.1%, 61%, 0%, 5.5%)
CIE-LABlab(51.96, 51.37, -67.31)
CIE-LCHlch(51.96, 84.67, 307.35°)
OKLaboklab(60.78% 0.0867 -0.1919)
OKLCHoklch(60.78% 0.211 294.3)
XYZxyz(31.0310, 20.1063, 85.4480)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EF1 #C1F15E
analogous
#5E77F1 #8E5EF1 #D85EF1
triadic
#8E5EF1 #F18E5E #5EF18E
tetradic
#8E5EF1 #F15E77 #C1F15E #5EF1D8
square
#8E5EF1 #F15E77 #C1F15E #5EF1D8
split-complementary
#8E5EF1 #F1D85E #77F15E
monochromatic
#4B11C4 #6626EC #8E5EF1 #B696F6 #DDCFFB

Accessibility & contrast

On white

4.18
#8E5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8E5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EF1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EF1#FFFFFF#000000##000000
##8E5EF11.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#747F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5ef1;
/* rgb */ color: rgb(142, 94, 241);
/* oklch */ color: oklch(60.8% 0.211 294.3);
Tailwind
colors: {
  custom: {
    50: '#b58ef6',
    500: '#8e5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ef1;
$custom-light: #b58ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ef1",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 259.592,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60779,
    "c": 0.21059,
    "h": 294.3
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#8E5EF1
secondary
#DEEEBD
accent
#E00599
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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