#8418A1#8418A1

#8418A1 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.1% C 0.207 H 317.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8418A1
RGBrgb(132, 24, 161)
HSLhsl(287, 74%, 36%)
HSVhsv(287, 85%, 63%)
CMYKcmyk(18%, 85.1%, 0%, 36.9%)
CIE-LABlab(34.26, 61.02, -49.60)
CIE-LCHlch(34.26, 78.63, 320.90°)
OKLaboklab(46.08% 0.1522 -0.1398)
OKLCHoklch(46.08% 0.207 317.4)
XYZxyz(16.2744, 8.1328, 34.4238)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8418A1 #35A118
analogous
#4018A1 #8418A1 #A1187A
triadic
#8418A1 #A18418 #18A184
tetradic
#8418A1 #A14018 #35A118 #187AA1
square
#8418A1 #A14018 #35A118 #187AA1
split-complementary
#8418A1 #7AA118 #18A140
monochromatic
#2D0836 #58106C #8418A1 #B020D6 #C54FE5

Accessibility & contrast

On white

8.00
#8418A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8418A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8418A1
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8418A1#FFFFFF#000000##FFFFFF
##8418A11.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#1C549E
Tritanopia (blue-blind)
#833A60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8418a1;
/* rgb */ color: rgb(132, 24, 161);
/* oklch */ color: oklch(46.1% 0.207 317.4);
Tailwind
colors: {
  custom: {
    50: '#ac66be',
    500: '#8418a1',
    950: '#000000',
  },
}
SCSS
$custom: #8418a1;
$custom-light: #ac66be;
$custom-dark: #000000;
JSON
{
  "hex": "#8418a1",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 287.299,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.2067,
    "h": 317.4
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#8418A1
secondary
#68C74E
accent
#F1375E
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8418A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8418A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva