#8A3580#8A3580

#8A3580 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.6% C 0.148 H 332.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8A3580
RGBrgb(138, 53, 128)
HSLhsl(307, 45%, 37%)
HSVhsv(307, 62%, 54%)
CMYKcmyk(0%, 61.6%, 7.2%, 45.9%)
CIE-LABlab(36.95, 45.83, -25.05)
CIE-LCHlch(36.95, 52.23, 331.34°)
OKLaboklab(47.56% 0.1315 -0.0685)
OKLCHoklch(47.56% 0.148 332.5)
XYZxyz(15.6506, 9.5091, 21.4290)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3580 #358A3F
analogous
#6A358A #8A3580 #8A3555
triadic
#8A3580 #808A35 #35808A
tetradic
#8A3580 #8A6A35 #358A3F #35558A
square
#8A3580 #8A6A35 #358A3F #35558A
split-complementary
#8A3580 #558A35 #358A6A
monochromatic
#32132E #5E2457 #8A3580 #B646A9 #C871BE

Accessibility & contrast

On white

7.24
#8A3580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A3580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3580
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3580#FFFFFF#000000##FFFFFF
##8A35801.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F82
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#903C55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3580;
/* rgb */ color: rgb(138, 53, 128);
/* oklch */ color: oklch(47.6% 0.148 332.5);
Tailwind
colors: {
  custom: {
    50: '#af72a5',
    500: '#8a3580',
    950: '#000000',
  },
}
SCSS
$custom: #8a3580;
$custom-light: #af72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3580",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 128
  },
  "hsl": {
    "h": 307.059,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47562,
    "c": 0.14822,
    "h": 332.5
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#8A3580
secondary
#6AB172
accent
#D46354
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3580

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

Preview Lab → · Contrast checker → · Palette generator →

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