#8A4282#8A4282

#8A4282 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.4% C 0.129 H 331.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A4282
RGBrgb(138, 66, 130)
HSLhsl(307, 35%, 40%)
HSVhsv(307, 52%, 54%)
CMYKcmyk(0%, 52.2%, 5.8%, 45.9%)
CIE-LABlab(39.43, 39.76, -22.41)
CIE-LCHlch(39.43, 45.64, 330.59°)
OKLaboklab(49.42% 0.1132 -0.0611)
OKLCHoklch(49.42% 0.129 331.7)
XYZxyz(16.4586, 10.9124, 22.3542)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4282 #428A4A
analogous
#6E428A #8A4282 #8A425E
triadic
#8A4282 #828A42 #42828A
tetradic
#8A4282 #8A6E42 #428A4A #425E8A
square
#8A4282 #8A6E42 #428A4A #425E8A
split-complementary
#8A4282 #5E8A42 #428A6E
monochromatic
#371A34 #612E5B #8A4282 #B059A6 #C483BC

Accessibility & contrast

On white

6.60
#8A4282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8A4282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4282
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4282#FFFFFF#000000##FFFFFF
##8A42821.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#546180
Tritanopia (blue-blind)
#8F475C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4282;
/* rgb */ color: rgb(138, 66, 130);
/* oklch */ color: oklch(49.4% 0.129 331.7);
Tailwind
colors: {
  custom: {
    50: '#ae79a6',
    500: '#8a4282',
    950: '#000000',
  },
}
SCSS
$custom: #8a4282;
$custom-light: #ae79a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4282",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 306.667,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49423,
    "c": 0.12865,
    "h": 331.7
  },
  "luminance": 0.10911
}

Semantic roles & 50–950 ramp

primary
#8A4282
secondary
#79AE7F
accent
#CB695C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4282

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

Preview Lab → · Contrast checker → · Palette generator →

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