#8A4985#8A4985

#8A4985 is a mid, moderate purple. Relative luminance 0.119; OKLCH L 50.6% C 0.119 H 330.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A4985
RGBrgb(138, 73, 133)
HSLhsl(305, 31%, 41%)
HSVhsv(305, 47%, 54%)
CMYKcmyk(0%, 47.1%, 3.6%, 45.9%)
CIE-LABlab(41.00, 36.57, -21.82)
CIE-LCHlch(41.00, 42.59, 329.17°)
OKLaboklab(50.63% 0.1032 -0.0595)
OKLCHoklch(50.63% 0.119 330)
XYZxyz(17.0972, 11.8628, 23.5749)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4985 #498A4E
analogous
#6F498A #8A4985 #8A4965
triadic
#8A4985 #858A49 #49858A
tetradic
#8A4985 #8A6F49 #498A4E #49658A
square
#8A4985 #8A6F49 #498A4E #49658A
split-complementary
#8A4985 #658A49 #498A6F
monochromatic
#3A1F38 #62345E #8A4985 #AD63A7 #C28BBE

Accessibility & contrast

On white

6.23
#8A4985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A4985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4985
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4985#FFFFFF#000000##FFFFFF
##8A49851.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B87
Deuteranopia (green-blind)
#586483
Tritanopia (blue-blind)
#8E4E61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4985;
/* rgb */ color: rgb(138, 73, 133);
/* oklch */ color: oklch(50.6% 0.119 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ea8',
    500: '#8a4985',
    950: '#000000',
  },
}
SCSS
$custom: #8a4985;
$custom-light: #ae7ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4985",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 304.615,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.11907,
    "h": 330
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#8A4985
secondary
#81AE84
accent
#C76961
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4985

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

Preview Lab → · Contrast checker → · Palette generator →

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