#8A1A9F#8A1A9F

#8A1A9F is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.0% C 0.206 H 320.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8A1A9F
RGBrgb(138, 26, 159)
HSLhsl(291, 72%, 36%)
HSVhsv(291, 84%, 62%)
CMYKcmyk(13.2%, 83.6%, 0%, 37.6%)
CIE-LABlab(35.29, 61.21, -46.66)
CIE-LCHlch(35.29, 76.97, 322.68°)
OKLaboklab(46.96% 0.1586 -0.1311)
OKLCHoklch(46.96% 0.206 320.4)
XYZxyz(17.1079, 8.6462, 33.5619)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A9F #2F9F1A
analogous
#481A9F #8A1A9F #9F1A72
triadic
#8A1A9F #9F8A1A #1A9F8A
tetradic
#8A1A9F #9F481A #2F9F1A #1A729F
square
#8A1A9F #9F481A #2F9F1A #1A729F
split-complementary
#8A1A9F #729F1A #1A9F48
monochromatic
#2F0936 #5C116A #8A1A9F #B823D4 #CC51E3

Accessibility & contrast

On white

7.70
#8A1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A9F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A9F#FFFFFF#000000##FFFFFF
##8A1A9F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#2A579C
Tritanopia (blue-blind)
#8B395F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a1a9f;
/* rgb */ color: rgb(138, 26, 159);
/* oklch */ color: oklch(47.0% 0.206 320.4);
Tailwind
colors: {
  custom: {
    50: '#b067bc',
    500: '#8a1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a9f;
$custom-light: #b067bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a9f",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 290.526,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4696,
    "c": 0.20571,
    "h": 320.4
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#8A1A9F
secondary
#62C550
accent
#EF3956
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

#8A1A9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva