#8D54AF#8D54AF

#8D54AF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.147 H 311.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8D54AF
RGBrgb(141, 84, 175)
HSLhsl(278, 36%, 51%)
HSVhsv(278, 52%, 69%)
CMYKcmyk(19.4%, 52%, 0%, 31.4%)
CIE-LABlab(45.77, 40.24, -39.45)
CIE-LCHlch(45.77, 56.35, 315.57°)
OKLaboklab(54.93% 0.0972 -0.1102)
OKLCHoklch(54.93% 0.147 311.4)
XYZxyz(21.8913, 15.0990, 42.3103)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54AF #76AF54
analogous
#5F54AF #8D54AF #AF54A4
triadic
#8D54AF #AF8D54 #54AF8D
tetradic
#8D54AF #AF5F54 #76AF54 #54A4AF
square
#8D54AF #AF5F54 #76AF54 #54A4AF
split-complementary
#8D54AF #A4AF54 #54AF5F
monochromatic
#4B2C5D #6C3F87 #8D54AF #A97EC3 #C5A7D6

Accessibility & contrast

On white

5.22
#8D54AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8D54AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54AF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54AF#FFFFFF#000000##FFFFFF
##8D54AF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#4E6EAD
Tritanopia (blue-blind)
#896379
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d54af;
/* rgb */ color: rgb(141, 84, 175);
/* oklch */ color: oklch(54.9% 0.147 311.4);
Tailwind
colors: {
  custom: {
    50: '#b086c7',
    500: '#8d54af',
    950: '#000000',
  },
}
SCSS
$custom: #8d54af;
$custom-light: #b086c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54af",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 277.582,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.14694,
    "h": 311.4
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#8D54AF
secondary
#AAC49B
accent
#CC5C86
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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