#8A2784#8A2784

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

Color values

HEX#8A2784
RGBrgb(138, 39, 132)
HSLhsl(304, 56%, 35%)
HSVhsv(304, 72%, 54%)
CMYKcmyk(0%, 71.7%, 4.3%, 45.9%)
CIE-LABlab(35.05, 52.39, -30.51)
CIE-LCHlch(35.05, 60.63, 329.78°)
OKLaboklab(46.25% 0.1488 -0.0841)
OKLCHoklch(46.25% 0.171 330.5)
XYZxyz(15.3716, 8.5214, 22.6605)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2784 #278A2D
analogous
#5E278A #8A2784 #8A2753
triadic
#8A2784 #848A27 #27848A
tetradic
#8A2784 #8A5E27 #278A2D #27538A
square
#8A2784 #8A5E27 #278A2D #27538A
split-complementary
#8A2784 #538A27 #278A5E
monochromatic
#2B0C29 #5A1A56 #8A2784 #BA34B2 #D15BC9

Accessibility & contrast

On white

7.77
#8A2784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A2784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2784
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2784#FFFFFF#000000##FFFFFF
##8A27841.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#445782
Tritanopia (blue-blind)
#8F3352
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2784;
/* rgb */ color: rgb(138, 39, 132);
/* oklch */ color: oklch(46.3% 0.171 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6ba8',
    500: '#8a2784',
    950: '#000000',
  },
}
SCSS
$custom: #8a2784;
$custom-light: #af6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2784",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 303.636,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4625,
    "c": 0.17091,
    "h": 330.5
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#8A2784
secondary
#57B65D
accent
#DF5249
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2784

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

Preview Lab → · Contrast checker → · Palette generator →

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