#8E5EF2#8E5EF2

#8E5EF2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.212 H 294.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8E5EF2
RGBrgb(142, 94, 242)
HSLhsl(259, 85%, 66%)
HSVhsv(259, 61%, 95%)
CMYKcmyk(41.3%, 61.2%, 0%, 5.1%)
CIE-LABlab(52.02, 51.63, -67.76)
CIE-LCHlch(52.02, 85.19, 307.31°)
OKLaboklab(60.85% 0.0866 -0.1932)
OKLCHoklch(60.85% 0.212 294.1)
XYZxyz(31.1808, 20.1662, 86.2368)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EF2 #C2F25E
analogous
#5E78F2 #8E5EF2 #D85EF2
triadic
#8E5EF2 #F28E5E #5EF28E
tetradic
#8E5EF2 #F25E78 #C2F25E #5EF2D8
square
#8E5EF2 #F25E78 #C2F25E #5EF2D8
split-complementary
#8E5EF2 #F2D85E #78F25E
monochromatic
#4B10C6 #6625ED #8E5EF2 #B697F7 #DDCFFB

Accessibility & contrast

On white

4.17
#8E5EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8E5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EF2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EF2#FFFFFF#000000##000000
##8E5EF21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#737F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5ef2;
/* rgb */ color: rgb(142, 94, 242);
/* oklch */ color: oklch(60.8% 0.212 294.1);
Tailwind
colors: {
  custom: {
    50: '#b58ef7',
    500: '#8e5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ef2;
$custom-light: #b58ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ef2",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 259.459,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.21177,
    "h": 294.1
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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