#8A2E84#8A2E84

#8A2E84 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.162 H 330.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8A2E84
RGBrgb(138, 46, 132)
HSLhsl(304, 50%, 36%)
HSVhsv(304, 67%, 54%)
CMYKcmyk(0%, 66.7%, 4.3%, 45.9%)
CIE-LABlab(36.03, 49.62, -28.96)
CIE-LCHlch(36.03, 57.45, 329.73°)
OKLaboklab(46.96% 0.1408 -0.0796)
OKLCHoklch(46.96% 0.162 330.5)
XYZxyz(15.6230, 9.0244, 22.7443)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E84 #2E8A34
analogous
#622E8A #8A2E84 #8A2E56
triadic
#8A2E84 #848A2E #2E848A
tetradic
#8A2E84 #8A622E #2E8A34 #2E568A
square
#8A2E84 #8A622E #2E8A34 #2E568A
split-complementary
#8A2E84 #568A2E #2E8A62
monochromatic
#2E0F2C #5C1F58 #8A2E84 #B83DB0 #CC66C5

Accessibility & contrast

On white

7.49
#8A2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E84
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E84#FFFFFF#000000##FFFFFF
##8A2E841.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D87
Deuteranopia (green-blind)
#485982
Tritanopia (blue-blind)
#8F3855
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2e84;
/* rgb */ color: rgb(138, 46, 132);
/* oklch */ color: oklch(47.0% 0.162 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6ea8',
    500: '#8a2e84',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e84;
$custom-light: #af6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e84",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 303.913,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46962,
    "c": 0.16179,
    "h": 330.5
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#8A2E84
secondary
#61B366
accent
#DA574E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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