#8A418A#8A418A

#8A418A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.7% C 0.138 H 327.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A418A
RGBrgb(138, 65, 138)
HSLhsl(300, 36%, 40%)
HSVhsv(300, 53%, 54%)
CMYKcmyk(0%, 52.9%, 0%, 45.9%)
CIE-LABlab(39.61, 41.77, -27.03)
CIE-LCHlch(39.61, 49.75, 327.09°)
OKLaboklab(49.68% 0.1161 -0.0742)
OKLCHoklch(49.68% 0.138 327.4)
XYZxyz(16.9587, 11.0198, 25.2736)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A418A #418A41
analogous
#66418A #8A418A #8A4166
triadic
#8A418A #8A8A41 #418A8A
tetradic
#8A418A #8A6641 #418A41 #41668A
square
#8A418A #8A6641 #418A41 #41668A
split-complementary
#8A418A #668A41 #418A66
monochromatic
#371A37 #602D60 #8A418A #B058B0 #C482C4

Accessibility & contrast

On white

6.55
#8A418A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A418A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A418A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A418A#FFFFFF#000000##FFFFFF
##8A418A1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#506188
Tritanopia (blue-blind)
#8E495F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a418a;
/* rgb */ color: rgb(138, 65, 138);
/* oklch */ color: oklch(49.7% 0.138 327.4);
Tailwind
colors: {
  custom: {
    50: '#ae79ac',
    500: '#8a418a',
    950: '#000000',
  },
}
SCSS
$custom: #8a418a;
$custom-light: #ae79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a418a",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.13782,
    "h": 327.4
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#8A418A
secondary
#78AE78
accent
#CC5C5C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A418A

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

Preview Lab → · Contrast checker → · Palette generator →

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