#8E5AE7#8E5AE7

#8E5AE7 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.204 H 296.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8E5AE7
RGBrgb(142, 90, 231)
HSLhsl(262, 75%, 63%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(38.5%, 61%, 0%, 9.4%)
CIE-LABlab(50.49, 50.91, -64.07)
CIE-LCHlch(50.49, 81.83, 308.47°)
OKLaboklab(59.5% 0.0917 -0.1824)
OKLCHoklch(59.5% 0.204 296.7)
XYZxyz(29.2316, 18.8321, 77.6807)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5AE7 #B3E75A
analogous
#5A6CE7 #8E5AE7 #D55AE7
triadic
#8E5AE7 #E78E5A #5AE78E
tetradic
#8E5AE7 #E75A6C #B3E75A #5AE7D5
square
#8E5AE7 #E75A6C #B3E75A #5AE7D5
split-complementary
#8E5AE7 #E7D55A #6CE75A
monochromatic
#5019AD #6925DF #8E5AE7 #B38FEF #D7C5F7

Accessibility & contrast

On white

4.41
#8E5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8E5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5AE7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5AE7#FFFFFF#000000##000000
##8E5AE71.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#1076E4
Tritanopia (blue-blind)
#787998
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5ae7;
/* rgb */ color: rgb(142, 90, 231);
/* oklch */ color: oklch(59.5% 0.204 296.7);
Tailwind
colors: {
  custom: {
    50: '#b58bef',
    500: '#8e5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ae7;
$custom-light: #b58bef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ae7",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 262.128,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.595,
    "c": 0.20414,
    "h": 296.7
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

primary
#8E5AE7
secondary
#D5E8B5
accent
#D70F8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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