#8A3780#8A3780

#8A3780 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.8% C 0.145 H 332.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A3780
RGBrgb(138, 55, 128)
HSLhsl(307, 43%, 38%)
HSVhsv(307, 60%, 54%)
CMYKcmyk(0%, 60.1%, 7.2%, 45.9%)
CIE-LABlab(37.29, 44.90, -24.51)
CIE-LCHlch(37.29, 51.15, 331.37°)
OKLaboklab(47.81% 0.1287 -0.0669)
OKLCHoklch(47.81% 0.145 332.5)
XYZxyz(15.7437, 9.6953, 21.4601)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3780 #378A41
analogous
#6A378A #8A3780 #8A3756
triadic
#8A3780 #808A37 #37808A
tetradic
#8A3780 #8A6A37 #378A41 #37568A
square
#8A3780 #8A6A37 #378A41 #37568A
split-complementary
#8A3780 #568A37 #378A6A
monochromatic
#32142F #5E2657 #8A3780 #B648A9 #C874BD

Accessibility & contrast

On white

7.15
#8A3780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A3780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3780
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3780#FFFFFF#000000##FFFFFF
##8A37801.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345082
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#903E56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3780;
/* rgb */ color: rgb(138, 55, 128);
/* oklch */ color: oklch(47.8% 0.145 332.5);
Tailwind
colors: {
  custom: {
    50: '#af73a5',
    500: '#8a3780',
    950: '#000000',
  },
}
SCSS
$custom: #8a3780;
$custom-light: #af73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3780",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 307.229,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.14511,
    "h": 332.5
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#8A3780
secondary
#6DB075
accent
#D36455
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3780

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

Preview Lab → · Contrast checker → · Palette generator →

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