#8117A1#8117A1

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

Color values

HEX#8117A1
RGBrgb(129, 23, 161)
HSLhsl(286, 75%, 36%)
HSVhsv(286, 86%, 63%)
CMYKcmyk(19.9%, 85.7%, 0%, 36.9%)
CIE-LABlab(33.68, 60.75, -50.56)
CIE-LCHlch(33.68, 79.04, 320.23°)
OKLaboklab(45.58% 0.1491 -0.1428)
OKLCHoklch(45.58% 0.206 316.2)
XYZxyz(15.7917, 7.8538, 34.3954)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8117A1 #37A117
analogous
#3C17A1 #8117A1 #A1177C
triadic
#8117A1 #A18117 #17A181
tetradic
#8117A1 #A13C17 #37A117 #177CA1
square
#8117A1 #A13C17 #37A117 #177CA1
split-complementary
#8117A1 #7CA117 #17A13C
monochromatic
#2B0836 #560F6B #8117A1 #AC1FD7 #C24DE6

Accessibility & contrast

On white

8.17
#8117A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8117A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8117A1
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8117A1#FFFFFF#000000##FFFFFF
##8117A11.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)
#0049A4
Deuteranopia (green-blind)
#14529E
Tritanopia (blue-blind)
#7F3B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8117a1;
/* rgb */ color: rgb(129, 23, 161);
/* oklch */ color: oklch(45.6% 0.206 316.2);
Tailwind
colors: {
  custom: {
    50: '#aa65be',
    500: '#8117a1',
    950: '#000000',
  },
}
SCSS
$custom: #8117a1;
$custom-light: #aa65be;
$custom-dark: #000000;
JSON
{
  "hex": "#8117a1",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 286.087,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4558,
    "c": 0.20641,
    "h": 316.2
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#8117A1
secondary
#69C74C
accent
#F23662
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #8117A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8117A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva