#8A4684#8A4684

#8A4684 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.1% C 0.123 H 330.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A4684
RGBrgb(138, 70, 132)
HSLhsl(305, 33%, 41%)
HSVhsv(305, 49%, 54%)
CMYKcmyk(0%, 49.3%, 4.3%, 45.9%)
CIE-LABlab(40.33, 38.01, -22.25)
CIE-LCHlch(40.33, 44.04, 329.66°)
OKLaboklab(50.12% 0.1076 -0.0606)
OKLCHoklch(50.12% 0.123 330.6)
XYZxyz(16.8361, 11.4505, 23.1487)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4684 #468A4C
analogous
#6E468A #8A4684 #8A4662
triadic
#8A4684 #848A46 #46848A
tetradic
#8A4684 #8A6E46 #468A4C #46628A
square
#8A4684 #8A6E46 #468A4C #46628A
split-complementary
#8A4684 #628A46 #468A6E
monochromatic
#391D36 #61315D #8A4684 #AE5FA7 #C388BD

Accessibility & contrast

On white

6.38
#8A4684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A4684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4684
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4684#FFFFFF#000000##FFFFFF
##8A46841.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435986
Deuteranopia (green-blind)
#566282
Tritanopia (blue-blind)
#8F4B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4684;
/* rgb */ color: rgb(138, 70, 132);
/* oklch */ color: oklch(50.1% 0.123 330.6);
Tailwind
colors: {
  custom: {
    50: '#ae7ca8',
    500: '#8a4684',
    950: '#000000',
  },
}
SCSS
$custom: #8a4684;
$custom-light: #ae7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4684",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 305.294,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.12348,
    "h": 330.6
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#8A4684
secondary
#7EAE82
accent
#C9685F
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4684

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

Preview Lab → · Contrast checker → · Palette generator →

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