#8E54D3#8E54D3

#8E54D3 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.189 H 301.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8E54D3
RGBrgb(142, 84, 211)
HSLhsl(267, 59%, 58%)
HSVhsv(267, 60%, 83%)
CMYKcmyk(32.7%, 60.2%, 0%, 17.3%)
CIE-LABlab(48.00, 49.05, -56.74)
CIE-LCHlch(48.00, 75.00, 310.84°)
OKLaboklab(57.27% 0.0995 -0.1608)
OKLCHoklch(57.27% 0.189 301.8)
XYZxyz(26.0808, 16.7945, 63.4830)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54D3 #99D354
analogous
#5459D3 #8E54D3 #CE54D3
triadic
#8E54D3 #D38E54 #54D38E
tetradic
#8E54D3 #D35459 #99D354 #54D3CE
square
#8E54D3 #D35459 #99D354 #54D3CE
split-complementary
#8E54D3 #D3CE54 #59D354
monochromatic
#522389 #6F30BA #8E54D3 #AE85E0 #CEB5EC

Accessibility & contrast

On white

4.82
#8E54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8E54D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E54D3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54D3#FFFFFF#000000##FFFFFF
##8E54D31.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0371D7
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#806F8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e54d3;
/* rgb */ color: rgb(142, 84, 211);
/* oklch */ color: oklch(57.3% 0.189 301.8);
Tailwind
colors: {
  custom: {
    50: '#b387e1',
    500: '#8e54d3',
    950: '#000000',
  },
}
SCSS
$custom: #8e54d3;
$custom-light: #b387e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54d3",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 267.402,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57272,
    "c": 0.18913,
    "h": 301.8
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#8E54D3
secondary
#C4DBA8
accent
#E2469B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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