#8A2D84#8A2D84

#8A2D84 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.163 H 330.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8A2D84
RGBrgb(138, 45, 132)
HSLhsl(304, 51%, 36%)
HSVhsv(304, 67%, 54%)
CMYKcmyk(0%, 67.4%, 4.3%, 45.9%)
CIE-LABlab(35.88, 50.04, -29.19)
CIE-LCHlch(35.88, 57.93, 329.74°)
OKLaboklab(46.85% 0.142 -0.0803)
OKLCHoklch(46.85% 0.163 330.5)
XYZxyz(15.5844, 8.9471, 22.7315)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D84 #2D8A33
analogous
#612D8A #8A2D84 #8A2D55
triadic
#8A2D84 #848A2D #2D848A
tetradic
#8A2D84 #8A612D #2D8A33 #2D558A
square
#8A2D84 #8A612D #2D8A33 #2D558A
split-complementary
#8A2D84 #558A2D #2D8A61
monochromatic
#2E0F2C #5C1E58 #8A2D84 #B83CB0 #CD65C6

Accessibility & contrast

On white

7.53
#8A2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D84
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D84#FFFFFF#000000##FFFFFF
##8A2D841.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C87
Deuteranopia (green-blind)
#475982
Tritanopia (blue-blind)
#8F3754
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2d84;
/* rgb */ color: rgb(138, 45, 132);
/* oklch */ color: oklch(46.9% 0.163 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6ea8',
    500: '#8a2d84',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d84;
$custom-light: #af6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d84",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 303.871,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.16316,
    "h": 330.5
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#8A2D84
secondary
#60B365
accent
#DA574D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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