#8A428A#8A428A

#8A428A is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.8% C 0.136 H 327.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A428A
RGBrgb(138, 66, 138)
HSLhsl(300, 35%, 40%)
HSVhsv(300, 52%, 54%)
CMYKcmyk(0%, 52.2%, 0%, 45.9%)
CIE-LABlab(39.81, 41.25, -26.72)
CIE-LCHlch(39.81, 49.15, 327.06°)
OKLaboklab(49.82% 0.1147 -0.0734)
OKLCHoklch(49.82% 0.136 327.4)
XYZxyz(17.0166, 11.1356, 25.2929)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A428A #428A42
analogous
#66428A #8A428A #8A4266
triadic
#8A428A #8A8A42 #428A8A
tetradic
#8A428A #8A6642 #428A42 #42668A
square
#8A428A #8A6642 #428A42 #42668A
split-complementary
#8A428A #668A42 #428A66
monochromatic
#371A37 #612E61 #8A428A #B059B0 #C483C4

Accessibility & contrast

On white

6.51
#8A428A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A428A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A428A#FFFFFF#000000##FFFFFF
##8A428A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a428a;
/* rgb */ color: rgb(138, 66, 138);
/* oklch */ color: oklch(49.8% 0.136 327.4);
Tailwind
colors: {
  custom: {
    50: '#ae7aac',
    500: '#8a428a',
    950: '#000000',
  },
}
SCSS
$custom: #8a428a;
$custom-light: #ae7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a428a",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.13614,
    "h": 327.4
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#8A428A
secondary
#79AE79
accent
#CB5C5C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A428A

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

Preview Lab → · Contrast checker → · Palette generator →

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