#8A4FAA#8A4FAA

#8A4FAA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.148 H 312.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A4FAA
RGBrgb(138, 79, 170)
HSLhsl(279, 37%, 49%)
HSVhsv(279, 54%, 67%)
CMYKcmyk(18.8%, 53.5%, 0%, 33.3%)
CIE-LABlab(44.09, 41.01, -39.19)
CIE-LCHlch(44.09, 56.73, 316.30°)
OKLaboklab(53.52% 0.0999 -0.1096)
OKLCHoklch(53.52% 0.148 312.3)
XYZxyz(20.5316, 13.8980, 39.6234)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FAA #6FAA4F
analogous
#5D4FAA #8A4FAA #AA4F9D
triadic
#8A4FAA #AA8A4F #4FAA8A
tetradic
#8A4FAA #AA5D4F #6FAA4F #4F9DAA
square
#8A4FAA #AA5D4F #6FAA4F #4F9DAA
split-complementary
#8A4FAA #9DAA4F #4FAA5D
monochromatic
#462856 #683C80 #8A4FAA #A677C0 #C1A0D3

Accessibility & contrast

On white

5.56
#8A4FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A4FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FAA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FAA#FFFFFF#000000##FFFFFF
##8A4FAA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#4A6AA8
Tritanopia (blue-blind)
#875E75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4faa;
/* rgb */ color: rgb(138, 79, 170);
/* oklch */ color: oklch(53.5% 0.148 312.3);
Tailwind
colors: {
  custom: {
    50: '#ae82c4',
    500: '#8a4faa',
    950: '#000000',
  },
}
SCSS
$custom: #8a4faa;
$custom-light: #ae82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4faa",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 278.901,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.14824,
    "h": 312.3
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#8A4FAA
secondary
#A4C095
accent
#CD5B83
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8A4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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