#8A628E#8A628E

#8A628E is a mid, moderate purple. Relative luminance 0.161; OKLCH L 55.3% C 0.082 H 323.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A628E
RGBrgb(138, 98, 142)
HSLhsl(295, 18%, 47%)
HSVhsv(295, 31%, 56%)
CMYKcmyk(2.8%, 31%, 0%, 44.3%)
CIE-LABlab(47.10, 24.09, -17.87)
CIE-LCHlch(47.10, 30.00, 323.44°)
OKLaboklab(55.35% 0.0656 -0.0485)
OKLCHoklch(55.35% 0.082 323.5)
XYZxyz(19.7309, 16.0922, 27.6527)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A628E #668E62
analogous
#74628E #8A628E #8E627C
triadic
#8A628E #8E8A62 #628E8A
tetradic
#8A628E #8E7462 #668E62 #627C8E
square
#8A628E #8E7462 #668E62 #627C8E
split-complementary
#8A628E #7C8E62 #628E74
monochromatic
#443046 #67496A #8A628E #A683AA #C0A8C3

Accessibility & contrast

On white

4.98
#8A628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A628E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A628E#FFFFFF#000000##FFFFFF
##8A628E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a628e;
/* rgb */ color: rgb(138, 98, 142);
/* oklch */ color: oklch(55.3% 0.082 323.5);
Tailwind
colors: {
  custom: {
    50: '#ad8faf',
    500: '#8a628e',
    950: '#000000',
  },
}
SCSS
$custom: #8a628e;
$custom-light: #ad8faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a628e",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 294.545,
    "s": 18.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.08155,
    "h": 323.5
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#8A628E
secondary
#9DB19A
accent
#BB6D74
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A628E

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

Preview Lab → · Contrast checker → · Palette generator →

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