#8118B4#8118B4

#8118B4 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.1% C 0.222 H 310.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8118B4
RGBrgb(129, 24, 180)
HSLhsl(280, 76%, 40%)
HSVhsv(280, 87%, 71%)
CMYKcmyk(28.3%, 86.7%, 0%, 29.4%)
CIE-LABlab(35.23, 64.24, -59.42)
CIE-LCHlch(35.23, 87.51, 317.23°)
OKLaboklab(47.12% 0.1436 -0.1688)
OKLCHoklch(47.12% 0.222 310.4)
XYZxyz(17.6165, 8.6161, 43.9062)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8118B4 #4BB418
analogous
#3318B4 #8118B4 #B41899
triadic
#8118B4 #B48118 #18B481
tetradic
#8118B4 #B43318 #4BB418 #1899B4
square
#8118B4 #B43318 #4BB418 #1899B4
split-complementary
#8118B4 #99B418 #18B433
monochromatic
#340A48 #5A117E #8118B4 #A527E2 #BC5DE9

Accessibility & contrast

On white

7.71
#8118B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8118B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8118B4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8118B4#FFFFFF#000000##FFFFFF
##8118B41.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#7A456B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8118b4;
/* rgb */ color: rgb(129, 24, 180);
/* oklch */ color: oklch(47.1% 0.222 310.4);
Tailwind
colors: {
  custom: {
    50: '#ab66cb',
    500: '#8118b4',
    950: '#000000',
  },
}
SCSS
$custom: #8118b4;
$custom-light: #ab66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8118b4",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 280.385,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.47123,
    "c": 0.22161,
    "h": 310.4
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#8118B4
secondary
#80CD5B
accent
#F33573
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8118B4

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

Preview Lab → · Contrast checker → · Palette generator →

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