#8E54DF#8E54DF

#8E54DF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.203 H 299.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8E54DF
RGBrgb(142, 84, 223)
HSLhsl(265, 68%, 60%)
HSVhsv(265, 62%, 87%)
CMYKcmyk(36.3%, 62.3%, 0%, 12.5%)
CIE-LABlab(48.78, 52.03, -62.31)
CIE-LCHlch(48.78, 81.17, 309.86°)
OKLaboklab(58.09% 0.0989 -0.1772)
OKLCHoklch(58.09% 0.203 299.2)
XYZxyz(27.6416, 17.4188, 71.7036)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54DF #A5DF54
analogous
#545FDF #8E54DF #D454DF
triadic
#8E54DF #DF8E54 #54DF8E
tetradic
#8E54DF #DF545F #A5DF54 #54DFD4
square
#8E54DF #DF545F #A5DF54 #54DFD4
split-complementary
#8E54DF #DFD454 #5FDF54
monochromatic
#521D9C #6D27CF #8E54DF #B088E9 #D2BBF2

Accessibility & contrast

On white

4.68
#8E54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8E54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E54DF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54DF#FFFFFF#000000##FFFFFF
##8E54DF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#1573DC
Tritanopia (blue-blind)
#7C7392
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e54df;
/* rgb */ color: rgb(142, 84, 223);
/* oklch */ color: oklch(58.1% 0.203 299.2);
Tailwind
colors: {
  custom: {
    50: '#b487ea',
    500: '#8e54df',
    950: '#000000',
  },
}
SCSS
$custom: #8e54df;
$custom-light: #b487ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54df",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 265.036,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.20294,
    "h": 299.2
  },
  "luminance": 0.17419
}

Semantic roles & 50–950 ramp

primary
#8E54DF
secondary
#CCE2AD
accent
#D01582
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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