#8D54E6#8D54E6

#8D54E6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.211 H 297.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8D54E6
RGBrgb(141, 84, 230)
HSLhsl(263, 74%, 62%)
HSVhsv(263, 63%, 90%)
CMYKcmyk(38.7%, 63.5%, 0%, 9.8%)
CIE-LABlab(49.15, 53.58, -65.68)
CIE-LCHlch(49.15, 84.77, 309.21°)
OKLaboklab(58.48% 0.0971 -0.1871)
OKLCHoklch(58.48% 0.211 297.4)
XYZxyz(28.4341, 17.7161, 76.7690)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54E6 #ADE654
analogous
#5464E6 #8D54E6 #D654E6
triadic
#8D54E6 #E68D54 #54E68D
tetradic
#8D54E6 #E65464 #ADE654 #54E6D6
square
#8D54E6 #E65464 #ADE654 #54E6D6
split-complementary
#8D54E6 #E6D654 #64E654
monochromatic
#5018A7 #6A20DD #8D54E6 #B189EE #D4BFF6

Accessibility & contrast

On white

4.62
#8D54E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8D54E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54E6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54E6#FFFFFF#000000##FFFFFF
##8D54E61.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#787596
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d54e6;
/* rgb */ color: rgb(141, 84, 230);
/* oklch */ color: oklch(58.5% 0.211 297.4);
Tailwind
colors: {
  custom: {
    50: '#b487ef',
    500: '#8d54e6',
    950: '#000000',
  },
}
SCSS
$custom: #8d54e6;
$custom-light: #b487ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54e6",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 263.425,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.21081,
    "h": 297.4
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

primary
#8D54E6
secondary
#D1E6B0
accent
#D70F89
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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