#8A628C#8A628C

#8A628C is a mid, moderate purple. Relative luminance 0.160; OKLCH L 55.3% C 0.079 H 325.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A628C
RGBrgb(138, 98, 140)
HSLhsl(297, 18%, 47%)
HSVhsv(297, 30%, 55%)
CMYKcmyk(1.4%, 30%, 0%, 45.1%)
CIE-LABlab(47.02, 23.68, -16.80)
CIE-LCHlch(47.02, 29.03, 324.65°)
OKLaboklab(55.26% 0.0649 -0.0455)
OKLCHoklch(55.26% 0.079 325)
XYZxyz(19.5820, 16.0327, 26.8690)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A628C #648C62
analogous
#75628C #8A628C #8C6279
triadic
#8A628C #8C8A62 #628C8A
tetradic
#8A628C #8C7562 #648C62 #62798C
square
#8A628C #8C7562 #648C62 #62798C
split-complementary
#8A628C #798C62 #628C75
monochromatic
#433044 #674968 #8A628C #A683A8 #C0A7C1

Accessibility & contrast

On white

4.99
#8A628C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8A628C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A628C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A628C#FFFFFF#000000##FFFFFF
##8A628C1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a628c;
/* rgb */ color: rgb(138, 98, 140);
/* oklch */ color: oklch(55.3% 0.079 325.0);
Tailwind
colors: {
  custom: {
    50: '#ad8fad',
    500: '#8a628c',
    950: '#000000',
  },
}
SCSS
$custom: #8a628c;
$custom-light: #ad8fad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a628c",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 297.143,
    "s": 17.647,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55261,
    "c": 0.0793,
    "h": 325
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#8A628C
secondary
#9BB09A
accent
#BA6D71
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A628C

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

Preview Lab → · Contrast checker → · Palette generator →

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