#8E54FD#8E54FD

#8E54FD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.237 H 293.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8E54FD
RGBrgb(142, 84, 253)
HSLhsl(261, 98%, 66%)
HSVhsv(261, 67%, 99%)
CMYKcmyk(43.9%, 66.8%, 0%, 0.8%)
CIE-LABlab(50.90, 59.66, -75.71)
CIE-LCHlch(50.90, 96.39, 308.24°)
OKLaboklab(60.28% 0.0957 -0.2166)
OKLCHoklch(60.28% 0.237 293.8)
XYZxyz(32.0504, 19.1824, 94.9234)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54FD #C3FD54
analogous
#546EFD #8E54FD #E354FD
triadic
#8E54FD #FD8E54 #54FD8E
tetradic
#8E54FD #FD546E #C3FD54 #54FDE3
square
#8E54FD #FD546E #C3FD54 #54FDE3
split-complementary
#8E54FD #FDE354 #6EFD54
monochromatic
#4A02D4 #6618FC #8E54FD #B690FE #DECDFE

Accessibility & contrast

On white

4.34
#8E54FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8E54FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E54FD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54FD#FFFFFF#000000##000000
##8E54FD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#6E7DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e54fd;
/* rgb */ color: rgb(142, 84, 253);
/* oklch */ color: oklch(60.3% 0.237 293.8);
Tailwind
colors: {
  custom: {
    50: '#b788ff',
    500: '#8e54fd',
    950: '#000000',
  },
}
SCSS
$custom: #8e54fd;
$custom-light: #b788ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54fd",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 260.592,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.2368,
    "h": 293.8
  },
  "luminance": 0.19183
}

Semantic roles & 50–950 ramp

primary
#8E54FD
secondary
#DFF2BB
accent
#E60097
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8E54FD

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

Preview Lab → · Contrast checker → · Palette generator →

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