#8A2A90#8A2A90

#8A2A90 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.177 H 325.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8A2A90
RGBrgb(138, 42, 144)
HSLhsl(296, 55%, 36%)
HSVhsv(296, 71%, 56%)
CMYKcmyk(4.2%, 70.8%, 0%, 43.5%)
CIE-LABlab(36.13, 53.35, -36.20)
CIE-LCHlch(36.13, 64.47, 325.85°)
OKLaboklab(47.25% 0.1459 -0.1006)
OKLCHoklch(47.25% 0.177 325.4)
XYZxyz(16.3429, 9.0739, 27.2708)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A90 #30902A
analogous
#572A90 #8A2A90 #902A63
triadic
#8A2A90 #908A2A #2A908A
tetradic
#8A2A90 #90572A #30902A #2A6390
square
#8A2A90 #90572A #30902A #2A6390
split-complementary
#8A2A90 #63902A #2A9057
monochromatic
#2F0E31 #5D1C61 #8A2A90 #B738BF #CB63D1

Accessibility & contrast

On white

7.46
#8A2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8A2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A90
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A90#FFFFFF#000000##FFFFFF
##8A2A901.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D93
Deuteranopia (green-blind)
#3F598D
Tritanopia (blue-blind)
#8D3A5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2a90;
/* rgb */ color: rgb(138, 42, 144);
/* oklch */ color: oklch(47.2% 0.177 325.4);
Tailwind
colors: {
  custom: {
    50: '#af6db1',
    500: '#8a2a90',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a90;
$custom-light: #af6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a90",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 296.471,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.17717,
    "h": 325.4
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#8A2A90
secondary
#64B75E
accent
#DE4A52
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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