#8A4FAE#8A4FAE

#8A4FAE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.153 H 311.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A4FAE
RGBrgb(138, 79, 174)
HSLhsl(277, 38%, 50%)
HSVhsv(277, 55%, 68%)
CMYKcmyk(20.7%, 54.6%, 0%, 31.8%)
CIE-LABlab(44.31, 41.92, -41.20)
CIE-LCHlch(44.31, 58.78, 315.50°)
OKLaboklab(53.75% 0.1002 -0.1154)
OKLCHoklch(53.75% 0.153 311)
XYZxyz(20.9158, 14.0517, 41.6466)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FAE #73AE4F
analogous
#5B4FAE #8A4FAE #AE4FA3
triadic
#8A4FAE #AE8A4F #4FAE8A
tetradic
#8A4FAE #AE5B4F #73AE4F #4FA3AE
square
#8A4FAE #AE5B4F #73AE4F #4FA3AE
split-complementary
#8A4FAE #A3AE4F #4FAE5B
monochromatic
#47295A #693C84 #8A4FAE #A678C2 #C2A2D5

Accessibility & contrast

On white

5.51
#8A4FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8A4FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FAE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FAE#FFFFFF#000000##FFFFFF
##8A4FAE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#865F77
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4fae;
/* rgb */ color: rgb(138, 79, 174);
/* oklch */ color: oklch(53.8% 0.153 311.0);
Tailwind
colors: {
  custom: {
    50: '#ae83c6',
    500: '#8a4fae',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fae;
$custom-light: #ae83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fae",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 277.263,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53751,
    "c": 0.15282,
    "h": 311
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#8A4FAE
secondary
#A7C297
accent
#CE5A86
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A4FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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