#8A1A90#8A1A90

#8A1A90 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.194 H 325.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A1A90
RGBrgb(138, 26, 144)
HSLhsl(297, 69%, 33%)
HSVhsv(297, 82%, 56%)
CMYKcmyk(4.2%, 81.9%, 0%, 43.5%)
CIE-LABlab(34.31, 58.57, -39.10)
CIE-LCHlch(34.31, 70.42, 326.28°)
OKLaboklab(45.95% 0.1603 -0.1089)
OKLCHoklch(45.95% 0.194 325.8)
XYZxyz(15.8843, 8.1568, 27.1179)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A90 #20901A
analogous
#4F1A90 #8A1A90 #901A5B
triadic
#8A1A90 #908A1A #1A908A
tetradic
#8A1A90 #904F1A #20901A #1A5B90
square
#8A1A90 #904F1A #20901A #1A5B90
split-complementary
#8A1A90 #5B901A #1A904F
monochromatic
#270728 #58115C #8A1A90 #BC23C4 #D647DE

Accessibility & contrast

On white

7.98
#8A1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A90
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A90#FFFFFF#000000##FFFFFF
##8A1A901.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#8E3156
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a1a90;
/* rgb */ color: rgb(138, 26, 144);
/* oklch */ color: oklch(46.0% 0.194 325.8);
Tailwind
colors: {
  custom: {
    50: '#b066b1',
    500: '#8a1a90',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a90;
$custom-light: #b066b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a90",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 296.949,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.19383,
    "h": 325.8
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#8A1A90
secondary
#4DBF47
accent
#EC3C45
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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