#8A2884#8A2884

#8A2884 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.170 H 330.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8A2884
RGBrgb(138, 40, 132)
HSLhsl(304, 55%, 35%)
HSVhsv(304, 71%, 54%)
CMYKcmyk(0%, 71%, 4.3%, 45.9%)
CIE-LABlab(35.18, 52.01, -30.30)
CIE-LCHlch(35.18, 60.20, 329.77°)
OKLaboklab(46.35% 0.1477 -0.0835)
OKLCHoklch(46.35% 0.17 330.5)
XYZxyz(15.4048, 8.5880, 22.6716)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2884 #288A2E
analogous
#5F288A #8A2884 #8A2853
triadic
#8A2884 #848A28 #28848A
tetradic
#8A2884 #8A5F28 #288A2E #28538A
square
#8A2884 #8A5F28 #288A2E #28538A
split-complementary
#8A2884 #538A28 #288A5F
monochromatic
#2B0C29 #5B1A57 #8A2884 #B936B1 #D05DC9

Accessibility & contrast

On white

7.73
#8A2884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2884
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2884#FFFFFF#000000##FFFFFF
##8A28841.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A87
Deuteranopia (green-blind)
#455782
Tritanopia (blue-blind)
#8F3453
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2884;
/* rgb */ color: rgb(138, 40, 132);
/* oklch */ color: oklch(46.3% 0.170 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6ba8',
    500: '#8a2884',
    950: '#000000',
  },
}
SCSS
$custom: #8a2884;
$custom-light: #af6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2884",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 303.673,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.16967,
    "h": 330.5
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#8A2884
secondary
#59B55E
accent
#DE5349
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2884

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

Preview Lab → · Contrast checker → · Palette generator →

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