#8D54D6#8D54D6

#8D54D6 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.4% C 0.192 H 300.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D54D6
RGBrgb(141, 84, 214)
HSLhsl(266, 61%, 58%)
HSVhsv(266, 61%, 84%)
CMYKcmyk(34.1%, 60.7%, 0%, 16.1%)
CIE-LABlab(48.08, 49.56, -58.33)
CIE-LCHlch(48.08, 76.54, 310.36°)
OKLaboklab(57.37% 0.0981 -0.1655)
OKLCHoklch(57.37% 0.192 300.7)
XYZxyz(26.2895, 16.8582, 65.4742)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54D6 #9DD654
analogous
#545CD6 #8D54D6 #CE54D6
triadic
#8D54D6 #D68D54 #54D68D
tetradic
#8D54D6 #D6545C #9DD654 #54D6CE
square
#8D54D6 #D6545C #9DD654 #54D6CE
split-complementary
#8D54D6 #D6CE54 #5CD654
monochromatic
#51228E #6D2EBF #8D54D6 #AE85E2 #CFB7EE

Accessibility & contrast

On white

4.80
#8D54D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8D54D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54D6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54D6#FFFFFF#000000##FFFFFF
##8D54D61.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#2871D3
Tritanopia (blue-blind)
#7E708D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d54d6;
/* rgb */ color: rgb(141, 84, 214);
/* oklch */ color: oklch(57.4% 0.192 300.7);
Tailwind
colors: {
  custom: {
    50: '#b387e3',
    500: '#8d54d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d54d6;
$custom-light: #b387e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54d6",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 266.308,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.19241,
    "h": 300.7
  },
  "luminance": 0.16858
}

Semantic roles & 50–950 ramp

primary
#8D54D6
secondary
#C6DDA9
accent
#E4439E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D54D6

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

Preview Lab → · Contrast checker → · Palette generator →

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