#8A628A#8A628A

#8A628A is a mid, moderate purple. Relative luminance 0.160; OKLCH L 55.2% C 0.077 H 326.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A628A
RGBrgb(138, 98, 138)
HSLhsl(300, 17%, 46%)
HSVhsv(300, 29%, 54%)
CMYKcmyk(0%, 29%, 0%, 45.9%)
CIE-LABlab(46.94, 23.28, -15.72)
CIE-LCHlch(46.94, 28.09, 325.97°)
OKLaboklab(55.18% 0.0643 -0.0425)
OKLCHoklch(55.18% 0.077 326.6)
XYZxyz(19.4359, 15.9743, 26.0993)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A628A #628A62
analogous
#76628A #8A628A #8A6276
triadic
#8A628A #8A8A62 #628A8A
tetradic
#8A628A #8A7662 #628A62 #62768A
square
#8A628A #8A7662 #628A62 #62768A
split-complementary
#8A628A #768A62 #628A76
monochromatic
#422F42 #664966 #8A628A #A783A7 #C0A6C0

Accessibility & contrast

On white

5.01
#8A628A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8A628A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A628A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A628A#FFFFFF#000000##FFFFFF
##8A628A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#697189
Tritanopia (blue-blind)
#8C6570
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a628a;
/* rgb */ color: rgb(138, 98, 138);
/* oklch */ color: oklch(55.2% 0.077 326.6);
Tailwind
colors: {
  custom: {
    50: '#ad8fac',
    500: '#8a628a',
    950: '#000000',
  },
}
SCSS
$custom: #8a628a;
$custom-light: #ad8fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a628a",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.0771,
    "h": 326.6
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#8A628A
secondary
#99AF99
accent
#BA6E6E
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A628A

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

Preview Lab → · Contrast checker → · Palette generator →

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