#8A428D#8A428D

#8A428D is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.0% C 0.139 H 325.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A428D
RGBrgb(138, 66, 141)
HSLhsl(298, 36%, 41%)
HSVhsv(298, 53%, 55%)
CMYKcmyk(2.1%, 53.2%, 0%, 44.7%)
CIE-LABlab(39.95, 41.83, -28.32)
CIE-LCHlch(39.95, 50.52, 325.90°)
OKLaboklab(49.98% 0.1151 -0.078)
OKLCHoklch(49.98% 0.139 325.9)
XYZxyz(17.2368, 11.2237, 26.4526)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A428D #458D42
analogous
#64428D #8A428D #8D426A
triadic
#8A428D #8D8A42 #428D8A
tetradic
#8A428D #8D6442 #458D42 #426A8D
square
#8A428D #8D6442 #458D42 #426A8D
split-complementary
#8A428D #6A8D42 #428D64
monochromatic
#381B3A #612E63 #8A428D #AE5AB2 #C384C5

Accessibility & contrast

On white

6.47
#8A428D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A428D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A428D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A428D#FFFFFF#000000##FFFFFF
##8A428D1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#50618B
Tritanopia (blue-blind)
#8D4B61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a428d;
/* rgb */ color: rgb(138, 66, 141);
/* oklch */ color: oklch(50.0% 0.139 325.9);
Tailwind
colors: {
  custom: {
    50: '#ae7aae',
    500: '#8a428d',
    950: '#000000',
  },
}
SCSS
$custom: #8a428d;
$custom-light: #ae7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a428d",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 297.6,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.13904,
    "h": 325.9
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#8A428D
secondary
#7DB07B
accent
#CC5C60
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A428D

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

Preview Lab → · Contrast checker → · Palette generator →

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