#8417B4#8417B4

#8417B4 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.5% C 0.223 H 311.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8417B4
RGBrgb(132, 23, 180)
HSLhsl(282, 77%, 40%)
HSVhsv(282, 87%, 71%)
CMYKcmyk(26.7%, 87.2%, 0%, 29.4%)
CIE-LABlab(35.62, 64.93, -58.77)
CIE-LCHlch(35.62, 87.57, 317.85°)
OKLaboklab(47.49% 0.1481 -0.1668)
OKLCHoklch(47.49% 0.223 311.6)
XYZxyz(18.0588, 8.8141, 43.9212)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8417B4 #47B417
analogous
#3517B4 #8417B4 #B41796
triadic
#8417B4 #B48417 #17B484
tetradic
#8417B4 #B43517 #47B417 #1796B4
square
#8417B4 #B43517 #47B417 #1796B4
split-complementary
#8417B4 #96B417 #17B435
monochromatic
#340947 #5C107E #8417B4 #A925E3 #BE5BEA

Accessibility & contrast

On white

7.60
#8417B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8417B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8417B4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8417B4#FFFFFF#000000##FFFFFF
##8417B41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#7E446B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8417b4;
/* rgb */ color: rgb(132, 23, 180);
/* oklch */ color: oklch(47.5% 0.223 311.6);
Tailwind
colors: {
  custom: {
    50: '#ad67cb',
    500: '#8417b4',
    950: '#000000',
  },
}
SCSS
$custom: #8417b4;
$custom-light: #ad67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8417b4",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 281.656,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.22307,
    "h": 311.6
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#8417B4
secondary
#7DCE59
accent
#F4346F
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8417B4

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

Preview Lab → · Contrast checker → · Palette generator →

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