#8A467B#8A467B

#8A467B is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.7% C 0.115 H 336.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A467B
RGBrgb(138, 70, 123)
HSLhsl(313, 33%, 41%)
HSVhsv(313, 49%, 54%)
CMYKcmyk(0%, 49.3%, 10.9%, 45.9%)
CIE-LABlab(39.94, 36.37, -17.32)
CIE-LCHlch(39.94, 40.28, 334.53°)
OKLaboklab(49.7% 0.1055 -0.0467)
OKLCHoklch(49.7% 0.115 336.1)
XYZxyz(16.2466, 11.2147, 20.0440)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A467B #468A55
analogous
#77468A #8A467B #8A4659
triadic
#8A467B #7B8A46 #467B8A
tetradic
#8A467B #8A7746 #468A55 #46598A
square
#8A467B #8A7746 #468A55 #46598A
split-complementary
#8A467B #598A46 #468A77
monochromatic
#391D33 #613157 #8A467B #AE5F9D #C388B6

Accessibility & contrast

On white

6.48
#8A467B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A467B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A467B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A467B#FFFFFF#000000##FFFFFF
##8A467B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#90495B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a467b;
/* rgb */ color: rgb(138, 70, 123);
/* oklch */ color: oklch(49.7% 0.115 336.1);
Tailwind
colors: {
  custom: {
    50: '#ae7ca1',
    500: '#8a467b',
    950: '#000000',
  },
}
SCSS
$custom: #8a467b;
$custom-light: #ae7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a467b",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 123
  },
  "hsl": {
    "h": 313.235,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.497,
    "c": 0.11538,
    "h": 336.1
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#8A467B
secondary
#7EAE88
accent
#C9765F
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #8A467B

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

Preview Lab → · Contrast checker → · Palette generator →

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