#8E54FF#8E54FF

#8E54FF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.239 H 293.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8E54FF
RGBrgb(142, 84, 255)
HSLhsl(260, 100%, 66%)
HSVhsv(260, 67%, 100%)
CMYKcmyk(44.3%, 67.1%, 0%, 0%)
CIE-LABlab(51.05, 60.17, -76.58)
CIE-LCHlch(51.05, 97.39, 308.16°)
OKLaboklab(60.44% 0.0954 -0.2192)
OKLCHoklch(60.44% 0.239 293.5)
XYZxyz(32.3707, 19.3105, 96.6101)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54FF #C5FF54
analogous
#5470FF #8E54FF #E454FF
triadic
#8E54FF #FF8E54 #54FF8E
tetradic
#8E54FF #FF5470 #C5FF54 #54FFE4
square
#8E54FF #FF5470 #C5FF54 #54FFE4
split-complementary
#8E54FF #FFE454 #70FF54
monochromatic
#4900D9 #6617FF #8E54FF #B691FF #DFCEFF

Accessibility & contrast

On white

4.32
#8E54FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8E54FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E54FF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54FF#FFFFFF#000000##000000
##8E54FF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0076FC
Tritanopia (blue-blind)
#6D7EA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e54ff;
/* rgb */ color: rgb(142, 84, 255);
/* oklch */ color: oklch(60.4% 0.239 293.5);
Tailwind
colors: {
  custom: {
    50: '#b788ff',
    500: '#8e54ff',
    950: '#000000',
  },
}
SCSS
$custom: #8e54ff;
$custom-light: #b788ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54ff",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 260.351,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60435,
    "c": 0.23903,
    "h": 293.5
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#8E54FF
secondary
#E0F3BC
accent
#E60098
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8E54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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