#8A1A85#8A1A85

#8A1A85 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.185 H 330.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A1A85
RGBrgb(138, 26, 133)
HSLhsl(303, 68%, 32%)
HSVhsv(303, 81%, 54%)
CMYKcmyk(0%, 81.2%, 3.6%, 45.9%)
CIE-LABlab(33.64, 56.74, -33.36)
CIE-LCHlch(33.64, 65.82, 329.55°)
OKLaboklab(45.26% 0.1609 -0.0922)
OKLCHoklch(45.26% 0.185 330.2)
XYZxyz(15.0842, 7.8367, 22.9039)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A85 #1A8A1F
analogous
#571A8A #8A1A85 #8A1A4D
triadic
#8A1A85 #858A1A #1A858A
tetradic
#8A1A85 #8A571A #1A8A1F #1A4D8A
square
#8A1A85 #8A571A #1A8A1F #1A4D8A
split-complementary
#8A1A85 #4D8A1A #1A8A57
monochromatic
#230722 #571053 #8A1A85 #BD24B7 #DC43D5

Accessibility & contrast

On white

8.18
#8A1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A85
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A85#FFFFFF#000000##FFFFFF
##8A1A851.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054688
Deuteranopia (green-blind)
#3E5482
Tritanopia (blue-blind)
#8F2B50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1a85;
/* rgb */ color: rgb(138, 26, 133);
/* oklch */ color: oklch(45.3% 0.185 330.2);
Tailwind
colors: {
  custom: {
    50: '#b066a9',
    500: '#8a1a85',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a85;
$custom-light: #b066a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a85",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 302.679,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.18541,
    "h": 330.2
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#8A1A85
secondary
#43BD49
accent
#EB443D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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