#8A428F#8A428F

#8A428F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.1% C 0.141 H 324.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A428F
RGBrgb(138, 66, 143)
HSLhsl(296, 37%, 41%)
HSVhsv(296, 54%, 56%)
CMYKcmyk(3.5%, 53.8%, 0%, 43.9%)
CIE-LABlab(40.05, 42.22, -29.38)
CIE-LCHlch(40.05, 51.44, 325.17°)
OKLaboklab(50.09% 0.1154 -0.081)
OKLCHoklch(50.09% 0.141 324.9)
XYZxyz(17.3870, 11.2838, 27.2434)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A428F #478F42
analogous
#63428F #8A428F #8F426D
triadic
#8A428F #8F8A42 #428F8A
tetradic
#8A428F #8F6342 #478F42 #426D8F
square
#8A428F #8F6342 #478F42 #426D8F
split-complementary
#8A428F #6D8F42 #428F63
monochromatic
#391B3B #622F65 #8A428F #AE5BB3 #C285C7

Accessibility & contrast

On white

6.45
#8A428F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A428F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A428F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A428F#FFFFFF#000000##FFFFFF
##8A428F1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#4F628D
Tritanopia (blue-blind)
#8D4C62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a428f;
/* rgb */ color: rgb(138, 66, 143);
/* oklch */ color: oklch(50.1% 0.141 324.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ab0',
    500: '#8a428f',
    950: '#000000',
  },
}
SCSS
$custom: #8a428f;
$custom-light: #ae7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a428f",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 296.104,
    "s": 36.842,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.141,
    "h": 324.9
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#8A428F
secondary
#7FB17B
accent
#CD5B62
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A428F

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

Preview Lab → · Contrast checker → · Palette generator →

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