#8A2684#8A2684

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

Color values

HEX#8A2684
RGBrgb(138, 38, 132)
HSLhsl(304, 57%, 35%)
HSVhsv(304, 72%, 54%)
CMYKcmyk(0%, 72.5%, 4.3%, 45.9%)
CIE-LABlab(34.92, 52.76, -30.72)
CIE-LCHlch(34.92, 61.05, 329.79°)
OKLaboklab(46.16% 0.1499 -0.0846)
OKLCHoklch(46.16% 0.172 330.5)
XYZxyz(15.3391, 8.4566, 22.6497)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2684 #268A2C
analogous
#5E268A #8A2684 #8A2652
triadic
#8A2684 #848A26 #26848A
tetradic
#8A2684 #8A5E26 #268A2C #26528A
square
#8A2684 #8A5E26 #268A2C #26528A
split-complementary
#8A2684 #528A26 #268A5E
monochromatic
#2A0C28 #5A1956 #8A2684 #BA33B2 #D159CA

Accessibility & contrast

On white

7.80
#8A2684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2684
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2684#FFFFFF#000000##FFFFFF
##8A26841.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2684;
/* rgb */ color: rgb(138, 38, 132);
/* oklch */ color: oklch(46.2% 0.172 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6aa8',
    500: '#8a2684',
    950: '#000000',
  },
}
SCSS
$custom: #8a2684;
$custom-light: #af6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2684",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 303.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.17212,
    "h": 330.5
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#8A2684
secondary
#56B65C
accent
#E05148
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2684

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

Preview Lab → · Contrast checker → · Palette generator →

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