#8E5EF3#8E5EF3

#8E5EF3 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.213 H 294.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8E5EF3
RGBrgb(142, 94, 243)
HSLhsl(259, 86%, 66%)
HSVhsv(259, 61%, 95%)
CMYKcmyk(41.6%, 61.3%, 0%, 4.7%)
CIE-LABlab(52.09, 51.89, -68.21)
CIE-LCHlch(52.09, 85.71, 307.26°)
OKLaboklab(60.92% 0.0866 -0.1946)
OKLCHoklch(60.92% 0.213 294)
XYZxyz(31.3314, 20.2265, 87.0300)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EF3 #C3F35E
analogous
#5E78F3 #8E5EF3 #D85EF3
triadic
#8E5EF3 #F38E5E #5EF38E
tetradic
#8E5EF3 #F35E78 #C3F35E #5EF3D8
square
#8E5EF3 #F35E78 #C3F35E #5EF3D8
split-complementary
#8E5EF3 #F3D85E #78F35E
monochromatic
#4A0FC8 #6625EF #8E5EF3 #B697F7 #DED0FB

Accessibility & contrast

On white

4.16
#8E5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8E5EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EF3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EF3#FFFFFF#000000##000000
##8E5EF31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#7380A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5ef3;
/* rgb */ color: rgb(142, 94, 243);
/* oklch */ color: oklch(60.9% 0.213 294.0);
Tailwind
colors: {
  custom: {
    50: '#b58ef8',
    500: '#8e5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ef3;
$custom-light: #b58ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ef3",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 259.329,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.21295,
    "h": 294
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#8E5EF3
secondary
#DFEFBE
accent
#E3039B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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