#8A419C#8A419C

#8A419C is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.7% C 0.156 H 319.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A419C
RGBrgb(138, 65, 156)
HSLhsl(288, 41%, 43%)
HSVhsv(288, 58%, 61%)
CMYKcmyk(11.5%, 58.3%, 0%, 38.8%)
CIE-LABlab(40.55, 45.35, -36.46)
CIE-LCHlch(40.55, 58.19, 321.20°)
OKLaboklab(50.67% 0.1181 -0.1015)
OKLCHoklch(50.67% 0.156 319.3)
XYZxyz(18.3715, 11.5849, 32.7144)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A419C #539C41
analogous
#5C419C #8A419C #9C4180
triadic
#8A419C #9C8A41 #419C8A
tetradic
#8A419C #9C5C41 #539C41 #41809C
square
#8A419C #9C5C41 #539C41 #41809C
split-complementary
#8A419C #809C41 #419C5C
monochromatic
#3E1D46 #642F71 #8A419C #A95EBC #C089CE

Accessibility & contrast

On white

6.33
#8A419C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A419C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A419C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A419C#FFFFFF#000000##FFFFFF
##8A419C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#8A4F68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a419c;
/* rgb */ color: rgb(138, 65, 156);
/* oklch */ color: oklch(50.7% 0.156 319.3);
Tailwind
colors: {
  custom: {
    50: '#af79b9',
    500: '#8a419c',
    950: '#000000',
  },
}
SCSS
$custom: #8a419c;
$custom-light: #af79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a419c",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 288.132,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.1557,
    "h": 319.3
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#8A419C
secondary
#8BB980
accent
#D1576F
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A419C

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

Preview Lab → · Contrast checker → · Palette generator →

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