#8D628E#8D628E

#8D628E is a mid, moderate purple. Relative luminance 0.164; OKLCH L 55.7% C 0.084 H 325.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D628E
RGBrgb(141, 98, 142)
HSLhsl(299, 18%, 47%)
HSVhsv(299, 31%, 56%)
CMYKcmyk(0.7%, 31%, 0%, 44.3%)
CIE-LABlab(47.43, 25.13, -17.32)
CIE-LCHlch(47.43, 30.53, 325.42°)
OKLaboklab(55.68% 0.0692 -0.0469)
OKLCHoklch(55.68% 0.084 325.9)
XYZxyz(20.2342, 16.3518, 27.6763)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D628E #638E62
analogous
#77628E #8D628E #8E6279
triadic
#8D628E #8E8D62 #628E8D
tetradic
#8D628E #8E7762 #638E62 #62798E
square
#8D628E #8E7762 #638E62 #62798E
split-complementary
#8D628E #798E62 #628E77
monochromatic
#453046 #69496A #8D628E #A983AA #C2A8C3

Accessibility & contrast

On white

4.92
#8D628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8D628E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D628E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D628E#FFFFFF#000000##FFFFFF
##8D628E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D90
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#8F6672
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d628e;
/* rgb */ color: rgb(141, 98, 142);
/* oklch */ color: oklch(55.7% 0.084 325.9);
Tailwind
colors: {
  custom: {
    50: '#af8faf',
    500: '#8d628e',
    950: '#000000',
  },
}
SCSS
$custom: #8d628e;
$custom-light: #af8faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d628e",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 298.636,
    "s": 18.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.08365,
    "h": 325.9
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#8D628E
secondary
#9BB19A
accent
#BB6D6F
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8D628E

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

Preview Lab → · Contrast checker → · Palette generator →

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