#8118A0#8118A0

#8118A0 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.6% C 0.205 H 316.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8118A0
RGBrgb(129, 24, 160)
HSLhsl(286, 74%, 36%)
HSVhsv(286, 85%, 63%)
CMYKcmyk(19.4%, 85%, 0%, 37.3%)
CIE-LABlab(33.69, 60.31, -49.94)
CIE-LCHlch(33.69, 78.30, 320.37°)
OKLaboklab(45.56% 0.1487 -0.1409)
OKLCHoklch(45.56% 0.205 316.5)
XYZxyz(15.7241, 7.8591, 33.9396)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8118A0 #37A018
analogous
#3D18A0 #8118A0 #A0187B
triadic
#8118A0 #A08118 #18A081
tetradic
#8118A0 #A03D18 #37A018 #187BA0
square
#8118A0 #A03D18 #37A018 #187BA0
split-complementary
#8118A0 #7BA018 #18A03D
monochromatic
#2B0836 #56106B #8118A0 #AC20D5 #C24EE4

Accessibility & contrast

On white

8.17
#8118A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8118A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8118A0
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8118A0#FFFFFF#000000##FFFFFF
##8118A01.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#17529D
Tritanopia (blue-blind)
#7F3B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8118a0;
/* rgb */ color: rgb(129, 24, 160);
/* oklch */ color: oklch(45.6% 0.205 316.5);
Tailwind
colors: {
  custom: {
    50: '#aa65bd',
    500: '#8118a0',
    950: '#000000',
  },
}
SCSS
$custom: #8118a0;
$custom-light: #aa65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8118a0",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 286.324,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45564,
    "c": 0.20485,
    "h": 316.5
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#8118A0
secondary
#69C64D
accent
#F13761
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #8118A0

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

Preview Lab → · Contrast checker → · Palette generator →

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