#8A628B#8A628B

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

Color values

HEX#8A628B
RGBrgb(138, 98, 139)
HSLhsl(299, 17%, 46%)
HSVhsv(299, 29%, 55%)
CMYKcmyk(0.7%, 29.5%, 0%, 45.5%)
CIE-LABlab(46.98, 23.48, -16.26)
CIE-LCHlch(46.98, 28.56, 325.30°)
OKLaboklab(55.22% 0.0647 -0.044)
OKLCHoklch(55.22% 0.078 325.8)
XYZxyz(19.5086, 16.0033, 26.4824)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A628B #638B62
analogous
#76628B #8A628B #8B6278
triadic
#8A628B #8B8A62 #628B8A
tetradic
#8A628B #8B7662 #638B62 #62788B
square
#8A628B #8B7662 #638B62 #62788B
split-complementary
#8A628B #788B62 #628B76
monochromatic
#432F43 #664967 #8A628B #A783A7 #C0A7C1

Accessibility & contrast

On white

5.00
#8A628B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8A628B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A628B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A628B#FFFFFF#000000##FFFFFF
##8A628B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8D
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#8C6671
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a628b;
/* rgb */ color: rgb(138, 98, 139);
/* oklch */ color: oklch(55.2% 0.078 325.8);
Tailwind
colors: {
  custom: {
    50: '#ad8fad',
    500: '#8a628b',
    950: '#000000',
  },
}
SCSS
$custom: #8a628b;
$custom-light: #ad8fad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a628b",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 298.537,
    "s": 17.3,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.0782,
    "h": 325.8
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#8A628B
secondary
#9AAF99
accent
#BA6E70
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A628B

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

Preview Lab → · Contrast checker → · Palette generator →

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