#8A467F#8A467F

#8A467F is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.9% C 0.119 H 333.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A467F
RGBrgb(138, 70, 127)
HSLhsl(310, 33%, 41%)
HSVhsv(310, 49%, 54%)
CMYKcmyk(0%, 49.3%, 8%, 45.9%)
CIE-LABlab(40.11, 37.09, -19.52)
CIE-LCHlch(40.11, 41.91, 332.23°)
OKLaboklab(49.88% 0.1065 -0.0529)
OKLCHoklch(49.88% 0.119 333.6)
XYZxyz(16.5021, 11.3169, 21.3898)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A467F #468A51
analogous
#73468A #8A467F #8A465D
triadic
#8A467F #7F8A46 #467F8A
tetradic
#8A467F #8A7346 #468A51 #465D8A
square
#8A467F #8A7346 #468A51 #465D8A
split-complementary
#8A467F #5D8A46 #468A73
monochromatic
#391D34 #61315A #8A467F #AE5FA1 #C388B9

Accessibility & contrast

On white

6.44
#8A467F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A467F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A467F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A467F#FFFFFF#000000##FFFFFF
##8A467F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455881
Deuteranopia (green-blind)
#58627D
Tritanopia (blue-blind)
#8F4A5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a467f;
/* rgb */ color: rgb(138, 70, 127);
/* oklch */ color: oklch(49.9% 0.119 333.6);
Tailwind
colors: {
  custom: {
    50: '#ae7ca4',
    500: '#8a467f',
    950: '#000000',
  },
}
SCSS
$custom: #8a467f;
$custom-light: #ae7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a467f",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 309.706,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49882,
    "c": 0.1189,
    "h": 333.6
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#8A467F
secondary
#7EAE86
accent
#C9705F
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A467F

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

Preview Lab → · Contrast checker → · Palette generator →

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