#8A4983#8A4983

#8A4983 is a mid, moderate purple. Relative luminance 0.118; OKLCH L 50.5% C 0.117 H 331.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A4983
RGBrgb(138, 73, 131)
HSLhsl(306, 31%, 41%)
HSVhsv(306, 47%, 54%)
CMYKcmyk(0%, 47.1%, 5.1%, 45.9%)
CIE-LABlab(40.91, 36.20, -20.74)
CIE-LCHlch(40.91, 41.72, 330.19°)
OKLaboklab(50.54% 0.1027 -0.0564)
OKLCHoklch(50.54% 0.117 331.2)
XYZxyz(16.9604, 11.8080, 22.8542)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4983 #498A50
analogous
#71498A #8A4983 #8A4963
triadic
#8A4983 #838A49 #49838A
tetradic
#8A4983 #8A7149 #498A50 #49638A
square
#8A4983 #8A7149 #498A50 #49638A
split-complementary
#8A4983 #638A49 #498A71
monochromatic
#3A1F37 #62345D #8A4983 #AD63A5 #C28BBC

Accessibility & contrast

On white

6.25
#8A4983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A4983 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4983
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4983#FFFFFF#000000##FFFFFF
##8A49831.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B85
Deuteranopia (green-blind)
#596481
Tritanopia (blue-blind)
#8F4E60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4983;
/* rgb */ color: rgb(138, 73, 131);
/* oklch */ color: oklch(50.5% 0.117 331.2);
Tailwind
colors: {
  custom: {
    50: '#ae7ea7',
    500: '#8a4983',
    950: '#000000',
  },
}
SCSS
$custom: #8a4983;
$custom-light: #ae7ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4983",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 306.462,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50535,
    "c": 0.11717,
    "h": 331.2
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#8A4983
secondary
#81AE86
accent
#C76C61
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4983

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

Preview Lab → · Contrast checker → · Palette generator →

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