#8E54BE#8E54BE

#8E54BE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.165 H 307.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8E54BE
RGBrgb(142, 84, 190)
HSLhsl(273, 45%, 54%)
HSVhsv(273, 56%, 75%)
CMYKcmyk(25.3%, 55.8%, 0%, 25.5%)
CIE-LABlab(46.72, 43.98, -46.68)
CIE-LCHlch(46.72, 64.14, 313.30°)
OKLaboklab(55.93% 0.0995 -0.1313)
OKLCHoklch(55.93% 0.165 307.1)
XYZxyz(23.6180, 15.8094, 50.5125)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54BE #84BE54
analogous
#5954BE #8E54BE #BE54B9
triadic
#8E54BE #BE8E54 #54BE8E
tetradic
#8E54BE #BE5954 #84BE54 #54B9BE
square
#8E54BE #BE5954 #84BE54 #54B9BE
split-complementary
#8E54BE #B9BE54 #54BE59
monochromatic
#4F2A6E #6F3B9A #8E54BE #AB80CF #C9ADE0

Accessibility & contrast

On white

5.05
#8E54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8E54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E54BE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54BE#FFFFFF#000000##FFFFFF
##8E54BE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#876881
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e54be;
/* rgb */ color: rgb(142, 84, 190);
/* oklch */ color: oklch(55.9% 0.165 307.1);
Tailwind
colors: {
  custom: {
    50: '#b286d2',
    500: '#8e54be',
    950: '#000000',
  },
}
SCSS
$custom: #8e54be;
$custom-light: #b286d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54be",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 272.83,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.16474,
    "h": 307.1
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#8E54BE
secondary
#B5CEA0
accent
#D5538E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8E54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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