#8D54C0#8D54C0

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

Color values

HEX#8D54C0
RGBrgb(141, 84, 192)
HSLhsl(272, 46%, 54%)
HSVhsv(272, 56%, 75%)
CMYKcmyk(26.6%, 56.3%, 0%, 24.7%)
CIE-LABlab(46.72, 44.20, -47.85)
CIE-LCHlch(46.72, 65.14, 312.73°)
OKLaboklab(55.94% 0.0983 -0.1348)
OKLCHoklch(55.94% 0.167 306.1)
XYZxyz(23.6673, 15.8093, 51.6636)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54C0 #87C054
analogous
#5754C0 #8D54C0 #C054BD
triadic
#8D54C0 #C08D54 #54C08D
tetradic
#8D54C0 #C05754 #87C054 #54BDC0
square
#8D54C0 #C05754 #87C054 #54BDC0
split-complementary
#8D54C0 #BDC054 #54C057
monochromatic
#4F2970 #6E3A9D #8D54C0 #AB81D0 #C9ADE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D54C0#FFFFFF#000000##FFFFFF
##8D54C01.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)
#2D6DC4
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#856882
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d54c0;
/* rgb */ color: rgb(141, 84, 192);
/* oklch */ color: oklch(55.9% 0.167 306.1);
Tailwind
colors: {
  custom: {
    50: '#b186d3',
    500: '#8d54c0',
    950: '#000000',
  },
}
SCSS
$custom: #8d54c0;
$custom-light: #b186d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54c0",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 271.667,
    "s": 46.154,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.16679,
    "h": 306.1
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#8D54C0
secondary
#B7CFA1
accent
#D65290
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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