#8A2C99#8A2C99

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

Color values

HEX#8A2C99
RGBrgb(138, 44, 153)
HSLhsl(292, 55%, 39%)
HSVhsv(292, 71%, 60%)
CMYKcmyk(9.8%, 71.2%, 0%, 40%)
CIE-LABlab(36.94, 54.25, -40.39)
CIE-LCHlch(36.94, 67.63, 323.33°)
OKLaboklab(48% 0.1435 -0.1128)
OKLCHoklch(48% 0.183 321.8)
XYZxyz(17.1311, 9.5055, 31.0632)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C99 #3B992C
analogous
#532C99 #8A2C99 #992C71
triadic
#8A2C99 #998A2C #2C998A
tetradic
#8A2C99 #99532C #3B992C #2C7199
square
#8A2C99 #99532C #3B992C #2C7199
split-complementary
#8A2C99 #71992C #2C9953
monochromatic
#34113A #5F1E69 #8A2C99 #B43BC7 #C66BD4

Accessibility & contrast

On white

7.24
#8A2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C99
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C99#FFFFFF#000000##FFFFFF
##8A2C991.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#8C405F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2c99;
/* rgb */ color: rgb(138, 44, 153);
/* oklch */ color: oklch(48.0% 0.183 321.8);
Tailwind
colors: {
  custom: {
    50: '#af6eb7',
    500: '#8a2c99',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c99;
$custom-light: #af6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c99",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 291.743,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.18254,
    "h": 321.8
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#8A2C99
secondary
#71BB66
accent
#DF495E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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