#8A428B#8A428B

#8A428B is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.9% C 0.137 H 326.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A428B
RGBrgb(138, 66, 139)
HSLhsl(299, 36%, 40%)
HSVhsv(299, 53%, 55%)
CMYKcmyk(0.7%, 52.5%, 0%, 45.5%)
CIE-LABlab(39.86, 41.44, -27.26)
CIE-LCHlch(39.86, 49.60, 326.67°)
OKLaboklab(49.88% 0.1148 -0.0749)
OKLCHoklch(49.88% 0.137 326.9)
XYZxyz(17.0893, 11.1647, 25.6760)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A428B #438B42
analogous
#65428B #8A428B #8B4267
triadic
#8A428B #8B8A42 #428B8A
tetradic
#8A428B #8B6542 #438B42 #42678B
square
#8A428B #8B6542 #438B42 #42678B
split-complementary
#8A428B #678B42 #428B65
monochromatic
#381B38 #612E62 #8A428B #AF5AB1 #C383C4

Accessibility & contrast

On white

6.50
#8A428B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A428B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A428B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A428B#FFFFFF#000000##FFFFFF
##8A428B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588D
Deuteranopia (green-blind)
#516189
Tritanopia (blue-blind)
#8E4A60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a428b;
/* rgb */ color: rgb(138, 66, 139);
/* oklch */ color: oklch(49.9% 0.137 326.9);
Tailwind
colors: {
  custom: {
    50: '#ae7aad',
    500: '#8a428b',
    950: '#000000',
  },
}
SCSS
$custom: #8a428b;
$custom-light: #ae7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a428b",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 299.178,
    "s": 35.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.1371,
    "h": 326.9
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#8A428B
secondary
#7BAF7A
accent
#CC5C5E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A428B

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

Preview Lab → · Contrast checker → · Palette generator →

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