#8A2C9A#8A2C9A

#8A2C9A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.183 H 321.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8A2C9A
RGBrgb(138, 44, 154)
HSLhsl(291, 56%, 39%)
HSVhsv(291, 71%, 60%)
CMYKcmyk(10.4%, 71.4%, 0%, 39.6%)
CIE-LABlab(37.00, 54.44, -40.89)
CIE-LCHlch(37.00, 68.08, 323.08°)
OKLaboklab(48.07% 0.1435 -0.1143)
OKLCHoklch(48.07% 0.183 321.5)
XYZxyz(17.2140, 9.5387, 31.5000)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C9A #3C9A2C
analogous
#532C9A #8A2C9A #9A2C73
triadic
#8A2C9A #9A8A2C #2C9A8A
tetradic
#8A2C9A #9A532C #3C9A2C #2C739A
square
#8A2C9A #9A532C #3C9A2C #2C739A
split-complementary
#8A2C9A #739A2C #2C9A53
monochromatic
#35113B #5F1E6A #8A2C9A #B33CC7 #C66CD5

Accessibility & contrast

On white

7.22
#8A2C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A2C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C9A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C9A#FFFFFF#000000##FFFFFF
##8A2C9A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#395B97
Tritanopia (blue-blind)
#8B4060
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2c9a;
/* rgb */ color: rgb(138, 44, 154);
/* oklch */ color: oklch(48.1% 0.183 321.5);
Tailwind
colors: {
  custom: {
    50: '#b06eb8',
    500: '#8a2c9a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c9a;
$custom-light: #b06eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c9a",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 291.273,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.18343,
    "h": 321.5
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#8A2C9A
secondary
#73BC66
accent
#DF495F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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