#8A2A92#8A2A92

#8A2A92 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.179 H 324.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A2A92
RGBrgb(138, 42, 146)
HSLhsl(295, 55%, 37%)
HSVhsv(295, 71%, 57%)
CMYKcmyk(5.5%, 71.2%, 0%, 42.7%)
CIE-LABlab(36.24, 53.72, -37.23)
CIE-LCHlch(36.24, 65.36, 325.27°)
OKLaboklab(47.37% 0.1458 -0.1036)
OKLCHoklch(47.37% 0.179 324.6)
XYZxyz(16.4971, 9.1355, 28.0830)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A92 #32922A
analogous
#562A92 #8A2A92 #922A66
triadic
#8A2A92 #928A2A #2A928A
tetradic
#8A2A92 #92562A #32922A #2A6692
square
#8A2A92 #92562A #32922A #2A6692
split-complementary
#8A2A92 #66922A #2A9256
monochromatic
#300F33 #5D1C62 #8A2A92 #B738C2 #CA64D2

Accessibility & contrast

On white

7.43
#8A2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A92
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A92#FFFFFF#000000##FFFFFF
##8A2A921.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#3E598F
Tritanopia (blue-blind)
#8D3B5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2a92;
/* rgb */ color: rgb(138, 42, 146);
/* oklch */ color: oklch(47.4% 0.179 324.6);
Tailwind
colors: {
  custom: {
    50: '#af6db2',
    500: '#8a2a92',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a92;
$custom-light: #af6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a92",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 295.385,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.17888,
    "h": 324.6
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#8A2A92
secondary
#66B85F
accent
#DF4955
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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