#8418B4#8418B4

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

Color values

HEX#8418B4
RGBrgb(132, 24, 180)
HSLhsl(282, 76%, 40%)
HSVhsv(282, 87%, 71%)
CMYKcmyk(26.7%, 86.7%, 0%, 29.4%)
CIE-LABlab(35.70, 64.69, -58.64)
CIE-LCHlch(35.70, 87.32, 317.81°)
OKLaboklab(47.54% 0.1476 -0.1664)
OKLCHoklch(47.54% 0.222 311.6)
XYZxyz(18.0790, 8.8546, 43.9279)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8418B4 #48B418
analogous
#3618B4 #8418B4 #B41896
triadic
#8418B4 #B48418 #18B484
tetradic
#8418B4 #B43618 #48B418 #1896B4
square
#8418B4 #B43618 #48B418 #1896B4
split-complementary
#8418B4 #96B418 #18B436
monochromatic
#350A48 #5C117E #8418B4 #A927E2 #BE5DE9

Accessibility & contrast

On white

7.58
#8418B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8418B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8418B4
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8418B4#FFFFFF#000000##FFFFFF
##8418B41.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.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: #8418b4;
/* rgb */ color: rgb(132, 24, 180);
/* oklch */ color: oklch(47.5% 0.222 311.6);
Tailwind
colors: {
  custom: {
    50: '#ad67cb',
    500: '#8418b4',
    950: '#000000',
  },
}
SCSS
$custom: #8418b4;
$custom-light: #ad67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8418b4",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 281.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.22242,
    "h": 311.6
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#8418B4
secondary
#7ECD5B
accent
#F3356F
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8418B4

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

Preview Lab → · Contrast checker → · Palette generator →

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