#8A4585#8A4585

#8A4585 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.0% C 0.126 H 330.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A4585
RGBrgb(138, 69, 133)
HSLhsl(304, 33%, 41%)
HSVhsv(304, 50%, 54%)
CMYKcmyk(0%, 50%, 3.6%, 45.9%)
CIE-LABlab(40.17, 38.73, -23.11)
CIE-LCHlch(40.17, 45.10, 329.18°)
OKLaboklab(50.01% 0.1093 -0.0631)
OKLCHoklch(50.01% 0.126 330)
XYZxyz(16.8428, 11.3540, 23.4901)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4585 #458A4A
analogous
#6C458A #8A4585 #8A4562
triadic
#8A4585 #858A45 #45858A
tetradic
#8A4585 #8A6C45 #458A4A #45628A
square
#8A4585 #8A6C45 #458A4A #45628A
split-complementary
#8A4585 #628A45 #458A6C
monochromatic
#381C36 #61315E #8A4585 #AE5EA9 #C387BE

Accessibility & contrast

On white

6.42
#8A4585 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A4585 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4585
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4585#FFFFFF#000000##FFFFFF
##8A45851.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4585;
/* rgb */ color: rgb(138, 69, 133);
/* oklch */ color: oklch(50.0% 0.126 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ba8',
    500: '#8a4585',
    950: '#000000',
  },
}
SCSS
$custom: #8a4585;
$custom-light: #ae7ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4585",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 304.348,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50014,
    "c": 0.12619,
    "h": 330
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#8A4585
secondary
#7DAE80
accent
#C9665E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4585

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

Preview Lab → · Contrast checker → · Palette generator →

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