#8A419A#8A419A

#8A419A is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.6% C 0.154 H 320.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A419A
RGBrgb(138, 65, 154)
HSLhsl(289, 41%, 43%)
HSVhsv(289, 58%, 60%)
CMYKcmyk(10.4%, 57.8%, 0%, 39.6%)
CIE-LABlab(40.44, 44.94, -35.43)
CIE-LCHlch(40.44, 57.22, 321.75°)
OKLaboklab(50.56% 0.1179 -0.0985)
OKLCHoklch(50.56% 0.154 320.1)
XYZxyz(18.2036, 11.5178, 31.8299)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A419A #519A41
analogous
#5D419A #8A419A #9A417E
triadic
#8A419A #9A8A41 #419A8A
tetradic
#8A419A #9A5D41 #519A41 #417E9A
square
#8A419A #9A5D41 #519A41 #417E9A
split-complementary
#8A419A #7E9A41 #419A5D
monochromatic
#3D1D44 #632F6F #8A419A #AA5DBB #C188CD

Accessibility & contrast

On white

6.36
#8A419A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A419A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A419A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A419A#FFFFFF#000000##FFFFFF
##8A419A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#8B4E67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a419a;
/* rgb */ color: rgb(138, 65, 154);
/* oklch */ color: oklch(50.6% 0.154 320.1);
Tailwind
colors: {
  custom: {
    50: '#ae79b8',
    500: '#8a419a',
    950: '#000000',
  },
}
SCSS
$custom: #8a419a;
$custom-light: #ae79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a419a",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 289.213,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.15367,
    "h": 320.1
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#8A419A
secondary
#89B87F
accent
#D0576D
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A419A

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

Preview Lab → · Contrast checker → · Palette generator →

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