#8A4082#8A4082

#8A4082 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.1% C 0.132 H 331.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A4082
RGBrgb(138, 64, 130)
HSLhsl(306, 37%, 40%)
HSVhsv(306, 54%, 54%)
CMYKcmyk(0%, 53.6%, 5.8%, 45.9%)
CIE-LABlab(39.04, 40.79, -23.02)
CIE-LCHlch(39.04, 46.84, 330.56°)
OKLaboklab(49.13% 0.1162 -0.0628)
OKLCHoklch(49.13% 0.132 331.6)
XYZxyz(16.3438, 10.6828, 22.3159)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4082 #408A48
analogous
#6D408A #8A4082 #8A405D
triadic
#8A4082 #828A40 #40828A
tetradic
#8A4082 #8A6D40 #408A48 #405D8A
square
#8A4082 #8A6D40 #408A48 #405D8A
split-complementary
#8A4082 #5D8A40 #408A6D
monochromatic
#361933 #602D5B #8A4082 #B156A7 #C480BD

Accessibility & contrast

On white

6.70
#8A4082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A4082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4082
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4082#FFFFFF#000000##FFFFFF
##8A40821.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#536080
Tritanopia (blue-blind)
#8F465B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4082;
/* rgb */ color: rgb(138, 64, 130);
/* oklch */ color: oklch(49.1% 0.132 331.6);
Tailwind
colors: {
  custom: {
    50: '#ae78a6',
    500: '#8a4082',
    950: '#000000',
  },
}
SCSS
$custom: #8a4082;
$custom-light: #ae78a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4082",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 306.486,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.13209,
    "h": 331.6
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#8A4082
secondary
#77AF7D
accent
#CD675B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A4082

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

Preview Lab → · Contrast checker → · Palette generator →

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