#8A419F#8A419F

#8A419F is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.8% C 0.159 H 318.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A419F
RGBrgb(138, 65, 159)
HSLhsl(287, 42%, 44%)
HSVhsv(287, 59%, 62%)
CMYKcmyk(13.2%, 59.1%, 0%, 37.6%)
CIE-LABlab(40.72, 45.97, -37.99)
CIE-LCHlch(40.72, 59.64, 320.43°)
OKLaboklab(50.85% 0.1182 -0.106)
OKLCHoklch(50.85% 0.159 318.1)
XYZxyz(18.6287, 11.6878, 34.0689)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A419F #569F41
analogous
#5B419F #8A419F #9F4185
triadic
#8A419F #9F8A41 #419F8A
tetradic
#8A419F #9F5B41 #569F41 #41859F
square
#8A419F #9F5B41 #569F41 #41859F
split-complementary
#8A419F #859F41 #419F5B
monochromatic
#3F1D48 #642F74 #8A419F #A95FBE #C08BD0

Accessibility & contrast

On white

6.29
#8A419F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A419F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A419F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A419F#FFFFFF#000000##FFFFFF
##8A419F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#45629D
Tritanopia (blue-blind)
#8A506A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a419f;
/* rgb */ color: rgb(138, 65, 159);
/* oklch */ color: oklch(50.8% 0.159 318.1);
Tailwind
colors: {
  custom: {
    50: '#af7abc',
    500: '#8a419f',
    950: '#000000',
  },
}
SCSS
$custom: #8a419f;
$custom-light: #af7abc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a419f",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 286.596,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.15878,
    "h": 318.1
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#8A419F
secondary
#8EBA81
accent
#D25672
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A419F

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

Preview Lab → · Contrast checker → · Palette generator →

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