#8A418F#8A418F

#8A418F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.9% C 0.143 H 325.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8A418F
RGBrgb(138, 65, 143)
HSLhsl(296, 38%, 41%)
HSVhsv(296, 55%, 56%)
CMYKcmyk(3.5%, 54.5%, 0%, 43.9%)
CIE-LABlab(39.86, 42.73, -29.68)
CIE-LCHlch(39.86, 52.03, 325.22°)
OKLaboklab(49.94% 0.1168 -0.0819)
OKLCHoklch(49.94% 0.143 325)
XYZxyz(17.3290, 11.1680, 27.2241)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A418F #468F41
analogous
#63418F #8A418F #8F416D
triadic
#8A418F #8F8A41 #418F8A
tetradic
#8A418F #8F6341 #468F41 #416D8F
square
#8A418F #8F6341 #468F41 #416D8F
split-complementary
#8A418F #6D8F41 #418F63
monochromatic
#391B3B #612E65 #8A418F #AE59B4 #C384C7

Accessibility & contrast

On white

6.49
#8A418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A418F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A418F#FFFFFF#000000##FFFFFF
##8A418F1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375892
Deuteranopia (green-blind)
#4E618D
Tritanopia (blue-blind)
#8D4B62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a418f;
/* rgb */ color: rgb(138, 65, 143);
/* oklch */ color: oklch(49.9% 0.143 325.0);
Tailwind
colors: {
  custom: {
    50: '#ae79b0',
    500: '#8a418f',
    950: '#000000',
  },
}
SCSS
$custom: #8a418f;
$custom-light: #ae79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a418f",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 296.154,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49944,
    "c": 0.14266,
    "h": 325
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#8A418F
secondary
#7EB17A
accent
#CD5A62
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A418F

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

Preview Lab → · Contrast checker → · Palette generator →

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