#8D4ABA#8D4ABA

#8D4ABA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.175 H 309.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D4ABA
RGBrgb(141, 74, 186)
HSLhsl(276, 45%, 51%)
HSVhsv(276, 60%, 73%)
CMYKcmyk(24.2%, 60.2%, 0%, 27.1%)
CIE-LABlab(44.38, 48.08, -48.10)
CIE-LCHlch(44.38, 68.01, 314.99°)
OKLaboklab(54.11% 0.111 -0.1355)
OKLCHoklch(54.11% 0.175 309.3)
XYZxyz(22.2945, 14.1058, 47.9931)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ABA #77BA4A
analogous
#554ABA #8D4ABA #BA4AAF
triadic
#8D4ABA #BA8D4A #4ABA8D
tetradic
#8D4ABA #BA554A #77BA4A #4AAFBA
square
#8D4ABA #BA554A #77BA4A #4AAFBA
split-complementary
#8D4ABA #AFBA4A #4ABA55
monochromatic
#4B2664 #6C3790 #8D4ABA #A976CB #C5A3DC

Accessibility & contrast

On white

5.50
#8D4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8D4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ABA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ABA#FFFFFF#000000##FFFFFF
##8D4ABA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#875F7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4aba;
/* rgb */ color: rgb(141, 74, 186);
/* oklch */ color: oklch(54.1% 0.175 309.3);
Tailwind
colors: {
  custom: {
    50: '#b180cf',
    500: '#8d4aba',
    950: '#000000',
  },
}
SCSS
$custom: #8d4aba;
$custom-light: #b180cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4aba",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 275.893,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.17513,
    "h": 309.3
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#8D4ABA
secondary
#ABC997
accent
#D55387
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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