#8E54DE#8E54DE

#8E54DE is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.202 H 299.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8E54DE
RGBrgb(142, 84, 222)
HSLhsl(265, 68%, 60%)
HSVhsv(265, 62%, 87%)
CMYKcmyk(36%, 62.2%, 0%, 12.9%)
CIE-LABlab(48.72, 51.78, -61.85)
CIE-LCHlch(48.72, 80.66, 309.94°)
OKLaboklab(58.02% 0.099 -0.1758)
OKLCHoklch(58.02% 0.202 299.4)
XYZxyz(27.5072, 17.3651, 70.9957)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54DE #A4DE54
analogous
#545FDE #8E54DE #D354DE
triadic
#8E54DE #DE8E54 #54DE8E
tetradic
#8E54DE #DE545F #A4DE54 #54DED3
square
#8E54DE #DE545F #A4DE54 #54DED3
split-complementary
#8E54DE #DED354 #5FDE54
monochromatic
#521E9A #6D28CD #8E54DE #B087E8 #D2BBF2

Accessibility & contrast

On white

4.69
#8E54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8E54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E54DE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54DE#FFFFFF#000000##FFFFFF
##8E54DE1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#1873DB
Tritanopia (blue-blind)
#7C7291
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e54de;
/* rgb */ color: rgb(142, 84, 222);
/* oklch */ color: oklch(58.0% 0.202 299.4);
Tailwind
colors: {
  custom: {
    50: '#b487e9',
    500: '#8e54de',
    950: '#000000',
  },
}
SCSS
$custom: #8e54de;
$custom-light: #b487e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54de",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 265.217,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.58022,
    "c": 0.20179,
    "h": 299.4
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#8E54DE
secondary
#CBE1AC
accent
#EB3DA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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