#8417B3#8417B3

#8417B3 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.4% C 0.222 H 311.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8417B3
RGBrgb(132, 23, 179)
HSLhsl(282, 77%, 40%)
HSVhsv(282, 87%, 70%)
CMYKcmyk(26.3%, 87.2%, 0%, 29.8%)
CIE-LABlab(35.54, 64.73, -58.30)
CIE-LCHlch(35.54, 87.12, 317.99°)
OKLaboklab(47.41% 0.1484 -0.1654)
OKLCHoklch(47.41% 0.222 311.9)
XYZxyz(17.9573, 8.7735, 43.3866)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8417B3 #46B317
analogous
#3617B3 #8417B3 #B31794
triadic
#8417B3 #B38417 #17B384
tetradic
#8417B3 #B33617 #46B317 #1794B3
square
#8417B3 #B33617 #46B317 #1794B3
split-complementary
#8417B3 #94B317 #17B336
monochromatic
#340947 #5C107D #8417B3 #A924E3 #BF5BEA

Accessibility & contrast

On white

7.62
#8417B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8417B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8417B3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8417B3#FFFFFF#000000##FFFFFF
##8417B31.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#7E436A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8417b3;
/* rgb */ color: rgb(132, 23, 179);
/* oklch */ color: oklch(47.4% 0.222 311.9);
Tailwind
colors: {
  custom: {
    50: '#ad67cb',
    500: '#8417b3',
    950: '#000000',
  },
}
SCSS
$custom: #8417b3;
$custom-light: #ad67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8417b3",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 281.923,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.22224,
    "h": 311.9
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#8417B3
secondary
#7CCD58
accent
#F4346E
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8417B3

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

Preview Lab → · Contrast checker → · Palette generator →

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