#8A4EA9#8A4EA9

#8A4EA9 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.149 H 312.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A4EA9
RGBrgb(138, 78, 169)
HSLhsl(280, 37%, 48%)
HSVhsv(280, 54%, 66%)
CMYKcmyk(18.3%, 53.8%, 0%, 33.7%)
CIE-LABlab(43.82, 41.33, -39.02)
CIE-LCHlch(43.82, 56.84, 316.65°)
OKLaboklab(53.31% 0.1012 -0.109)
OKLCHoklch(53.31% 0.149 312.9)
XYZxyz(20.3658, 13.7171, 39.1033)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4EA9 #6DA94E
analogous
#5C4EA9 #8A4EA9 #A94E9A
triadic
#8A4EA9 #A98A4E #4EA98A
tetradic
#8A4EA9 #A95C4E #6DA94E #4E9AA9
square
#8A4EA9 #A95C4E #6DA94E #4E9AA9
split-complementary
#8A4EA9 #9AA94E #4EA95C
monochromatic
#462755 #683B7F #8A4EA9 #A675BF #C19FD3

Accessibility & contrast

On white

5.61
#8A4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A4EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4EA9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4EA9#FFFFFF#000000##FFFFFF
##8A4EA91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AC
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#875D74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4ea9;
/* rgb */ color: rgb(138, 78, 169);
/* oklch */ color: oklch(53.3% 0.149 312.9);
Tailwind
colors: {
  custom: {
    50: '#ae82c3',
    500: '#8a4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ea9;
$custom-light: #ae82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ea9",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 279.56,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.14875,
    "h": 312.9
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#8A4EA9
secondary
#A2BF93
accent
#CD5B82
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8A4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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