#8A1985#8A1985

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

Color values

HEX#8A1985
RGBrgb(138, 25, 133)
HSLhsl(303, 69%, 32%)
HSVhsv(303, 82%, 54%)
CMYKcmyk(0%, 81.9%, 3.6%, 45.9%)
CIE-LABlab(33.55, 57.00, -33.50)
CIE-LCHlch(33.55, 66.12, 329.56°)
OKLaboklab(45.2% 0.1616 -0.0926)
OKLCHoklch(45.2% 0.186 330.2)
XYZxyz(15.0624, 7.7932, 22.8967)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1985 #198A1E
analogous
#57198A #8A1985 #8A194D
triadic
#8A1985 #858A19 #19858A
tetradic
#8A1985 #8A5719 #198A1E #194D8A
square
#8A1985 #8A5719 #198A1E #194D8A
split-complementary
#8A1985 #4D8A19 #198A57
monochromatic
#220621 #561053 #8A1985 #BE22B7 #DD41D6

Accessibility & contrast

On white

8.21
#8A1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1985
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1985#FFFFFF#000000##FFFFFF
##8A19851.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1985;
/* rgb */ color: rgb(138, 25, 133);
/* oklch */ color: oklch(45.2% 0.186 330.2);
Tailwind
colors: {
  custom: {
    50: '#b066a9',
    500: '#8a1985',
    950: '#000000',
  },
}
SCSS
$custom: #8a1985;
$custom-light: #b066a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1985",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 302.655,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.18629,
    "h": 330.2
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#8A1985
secondary
#42BD47
accent
#EC433C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8A1985

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

Preview Lab → · Contrast checker → · Palette generator →

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