#8E54E7#8E54E7

#8E54E7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.212 H 297.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8E54E7
RGBrgb(142, 84, 231)
HSLhsl(264, 75%, 62%)
HSVhsv(264, 64%, 91%)
CMYKcmyk(38.5%, 63.6%, 0%, 9.4%)
CIE-LABlab(49.33, 54.04, -65.95)
CIE-LCHlch(49.33, 85.27, 309.33°)
OKLaboklab(58.66% 0.0983 -0.1879)
OKLCHoklch(58.66% 0.212 297.6)
XYZxyz(28.7458, 17.8605, 77.5187)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54E7 #ADE754
analogous
#5464E7 #8E54E7 #D754E7
triadic
#8E54E7 #E78E54 #54E78E
tetradic
#8E54E7 #E75464 #ADE754 #54E7D7
square
#8E54E7 #E75464 #ADE754 #54E7D7
split-complementary
#8E54E7 #E7D754 #64E754
monochromatic
#5118A9 #6B1FDF #8E54E7 #B18AEF #D5BFF6

Accessibility & contrast

On white

4.59
#8E54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8E54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E54E7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54E7#FFFFFF#000000##FFFFFF
##8E54E71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#797596
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e54e7;
/* rgb */ color: rgb(142, 84, 231);
/* oklch */ color: oklch(58.7% 0.212 297.6);
Tailwind
colors: {
  custom: {
    50: '#b587ef',
    500: '#8e54e7',
    950: '#000000',
  },
}
SCSS
$custom: #8e54e7;
$custom-light: #b587ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54e7",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 263.673,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.21206,
    "h": 297.6
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#8E54E7
secondary
#D1E7B0
accent
#D80E88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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