#8417A1#8417A1

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

Color values

HEX#8417A1
RGBrgb(132, 23, 161)
HSLhsl(287, 75%, 36%)
HSVhsv(287, 86%, 63%)
CMYKcmyk(18%, 85.7%, 0%, 36.9%)
CIE-LABlab(34.17, 61.26, -49.73)
CIE-LCHlch(34.17, 78.91, 320.93°)
OKLaboklab(46.03% 0.1528 -0.1402)
OKLCHoklch(46.03% 0.207 317.5)
XYZxyz(16.2542, 8.0923, 34.4171)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8417A1 #34A117
analogous
#3F17A1 #8417A1 #A11779
triadic
#8417A1 #A18417 #17A184
tetradic
#8417A1 #A13F17 #34A117 #1779A1
square
#8417A1 #A13F17 #34A117 #1779A1
split-complementary
#8417A1 #79A117 #17A13F
monochromatic
#2C0836 #580F6B #8417A1 #B01FD7 #C54DE6

Accessibility & contrast

On white

8.02
#8417A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8417A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8417A1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8417A1#FFFFFF#000000##FFFFFF
##8417A11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#1B539E
Tritanopia (blue-blind)
#833A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8417a1;
/* rgb */ color: rgb(132, 23, 161);
/* oklch */ color: oklch(46.0% 0.207 317.5);
Tailwind
colors: {
  custom: {
    50: '#ac65be',
    500: '#8417a1',
    950: '#000000',
  },
}
SCSS
$custom: #8417a1;
$custom-light: #ac65be;
$custom-dark: #000000;
JSON
{
  "hex": "#8417a1",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 287.391,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46025,
    "c": 0.20742,
    "h": 317.5
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#8417A1
secondary
#66C74C
accent
#F2365E
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8417A1

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

Preview Lab → · Contrast checker → · Palette generator →

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