#8A628F#8A628F

#8A628F is a mid, moderate purple. Relative luminance 0.161; OKLCH L 55.4% C 0.083 H 322.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A628F
RGBrgb(138, 98, 143)
HSLhsl(293, 19%, 47%)
HSVhsv(293, 31%, 56%)
CMYKcmyk(3.5%, 31.5%, 0%, 43.9%)
CIE-LABlab(47.13, 24.30, -18.41)
CIE-LCHlch(47.13, 30.48, 322.86°)
OKLaboklab(55.39% 0.0658 -0.05)
OKLCHoklch(55.39% 0.083 322.8)
XYZxyz(19.8063, 16.1224, 28.0499)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A628F #678F62
analogous
#74628F #8A628F #8F627E
triadic
#8A628F #8F8A62 #628F8A
tetradic
#8A628F #8F7462 #678F62 #627E8F
square
#8A628F #8F7462 #678F62 #627E8F
split-complementary
#8A628F #7E8F62 #628F74
monochromatic
#443046 #67496B #8A628F #A684AB #C0A8C3

Accessibility & contrast

On white

4.97
#8A628F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8A628F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A628F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A628F#FFFFFF#000000##FFFFFF
##8A628F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D91
Deuteranopia (green-blind)
#67718D
Tritanopia (blue-blind)
#8C6772
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a628f;
/* rgb */ color: rgb(138, 98, 143);
/* oklch */ color: oklch(55.4% 0.083 322.8);
Tailwind
colors: {
  custom: {
    50: '#ad8fb0',
    500: '#8a628f',
    950: '#000000',
  },
}
SCSS
$custom: #8a628f;
$custom-light: #ad8fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a628f",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 293.333,
    "s": 18.672,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.08269,
    "h": 322.8
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#8A628F
secondary
#9DB29B
accent
#BB6C75
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A628F

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

Preview Lab → · Contrast checker → · Palette generator →

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