#8A3080#8A3080

#8A3080 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.0% C 0.156 H 332.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8A3080
RGBrgb(138, 48, 128)
HSLhsl(307, 48%, 36%)
HSVhsv(307, 65%, 54%)
CMYKcmyk(0%, 65.2%, 7.2%, 45.9%)
CIE-LABlab(36.13, 48.08, -26.32)
CIE-LCHlch(36.13, 54.81, 331.30°)
OKLaboklab(46.97% 0.138 -0.0721)
OKLCHoklch(46.97% 0.156 332.4)
XYZxyz(15.4345, 9.0769, 21.3570)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3080 #308A3A
analogous
#67308A #8A3080 #8A3053
triadic
#8A3080 #808A30 #30808A
tetradic
#8A3080 #8A6730 #308A3A #30538A
square
#8A3080 #8A6730 #308A3A #30538A
split-complementary
#8A3080 #538A30 #308A67
monochromatic
#2F102C #5D2056 #8A3080 #B740AA #CB69C0

Accessibility & contrast

On white

7.46
#8A3080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A3080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3080
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3080#FFFFFF#000000##FFFFFF
##8A30801.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D82
Deuteranopia (green-blind)
#4B5A7E
Tritanopia (blue-blind)
#903853
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3080;
/* rgb */ color: rgb(138, 48, 128);
/* oklch */ color: oklch(47.0% 0.156 332.4);
Tailwind
colors: {
  custom: {
    50: '#af6fa5',
    500: '#8a3080',
    950: '#000000',
  },
}
SCSS
$custom: #8a3080;
$custom-light: #af6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3080",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 128
  },
  "hsl": {
    "h": 306.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46968,
    "c": 0.15566,
    "h": 332.4
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#8A3080
secondary
#64B26C
accent
#D85F50
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3080

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

Preview Lab → · Contrast checker → · Palette generator →

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