#8A3585#8A3585

#8A3585 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.153 H 330.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8A3585
RGBrgb(138, 53, 133)
HSLhsl(304, 45%, 37%)
HSVhsv(304, 62%, 54%)
CMYKcmyk(0%, 61.6%, 3.6%, 45.9%)
CIE-LABlab(37.20, 46.72, -27.75)
CIE-LCHlch(37.20, 54.33, 329.29°)
OKLaboklab(47.83% 0.1321 -0.0762)
OKLCHoklch(47.83% 0.153 330)
XYZxyz(15.9879, 9.6440, 23.2052)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3585 #358A3A
analogous
#64358A #8A3585 #8A355B
triadic
#8A3585 #858A35 #35858A
tetradic
#8A3585 #8A6435 #358A3A #355B8A
square
#8A3585 #8A6435 #358A3A #355B8A
split-complementary
#8A3585 #5B8A35 #358A64
monochromatic
#321330 #5E245A #8A3585 #B646B0 #C871C3

Accessibility & contrast

On white

7.17
#8A3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3585
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3585#FFFFFF#000000##FFFFFF
##8A35851.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5087
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#8F3E58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3585;
/* rgb */ color: rgb(138, 53, 133);
/* oklch */ color: oklch(47.8% 0.153 330.0);
Tailwind
colors: {
  custom: {
    50: '#af72a9',
    500: '#8a3585',
    950: '#000000',
  },
}
SCSS
$custom: #8a3585;
$custom-light: #af72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3585",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 303.529,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.15251,
    "h": 330
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#8A3585
secondary
#6AB16E
accent
#D45B54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3585

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

Preview Lab → · Contrast checker → · Palette generator →

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