#8A4280#8A4280

#8A4280 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.3% C 0.127 H 332.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8A4280
RGBrgb(138, 66, 128)
HSLhsl(308, 35%, 40%)
HSVhsv(308, 52%, 54%)
CMYKcmyk(0%, 52.2%, 7.2%, 45.9%)
CIE-LABlab(39.34, 39.39, -21.32)
CIE-LCHlch(39.34, 44.79, 331.57°)
OKLaboklab(49.33% 0.1128 -0.058)
OKLCHoklch(49.33% 0.127 332.8)
XYZxyz(16.3257, 10.8593, 21.6540)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4280 #428A4C
analogous
#70428A #8A4280 #8A425C
triadic
#8A4280 #808A42 #42808A
tetradic
#8A4280 #8A7042 #428A4C #425C8A
square
#8A4280 #8A7042 #428A4C #425C8A
split-complementary
#8A4280 #5C8A42 #428A70
monochromatic
#371A33 #612E5A #8A4280 #B059A4 #C483BB

Accessibility & contrast

On white

6.62
#8A4280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A4280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4280
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4280#FFFFFF#000000##FFFFFF
##8A42801.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405682
Deuteranopia (green-blind)
#55607E
Tritanopia (blue-blind)
#8F475B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4280;
/* rgb */ color: rgb(138, 66, 128);
/* oklch */ color: oklch(49.3% 0.127 332.8);
Tailwind
colors: {
  custom: {
    50: '#ae79a5',
    500: '#8a4280',
    950: '#000000',
  },
}
SCSS
$custom: #8a4280;
$custom-light: #ae79a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4280",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 128
  },
  "hsl": {
    "h": 308.333,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.12685,
    "h": 332.8
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#8A4280
secondary
#79AE81
accent
#CB6C5C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4280

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

Preview Lab → · Contrast checker → · Palette generator →

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