#8A4883#8A4883

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

Color values

HEX#8A4883
RGBrgb(138, 72, 131)
HSLhsl(306, 31%, 41%)
HSVhsv(306, 48%, 54%)
CMYKcmyk(0%, 47.8%, 5.1%, 45.9%)
CIE-LABlab(40.70, 36.74, -21.06)
CIE-LCHlch(40.70, 42.35, 330.17°)
OKLaboklab(50.38% 0.1043 -0.0573)
OKLCHoklch(50.38% 0.119 331.2)
XYZxyz(16.8952, 11.6777, 22.8324)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4883 #488A4F
analogous
#70488A #8A4883 #8A4862
triadic
#8A4883 #838A48 #48838A
tetradic
#8A4883 #8A7048 #488A4F #48628A
square
#8A4883 #8A7048 #488A4F #48628A
split-complementary
#8A4883 #628A48 #488A70
monochromatic
#3A1E37 #62335D #8A4883 #AD62A5 #C28ABC

Accessibility & contrast

On white

6.30
#8A4883 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A4883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4883
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4883#FFFFFF#000000##FFFFFF
##8A48831.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A85
Deuteranopia (green-blind)
#586381
Tritanopia (blue-blind)
#8F4D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4883;
/* rgb */ color: rgb(138, 72, 131);
/* oklch */ color: oklch(50.4% 0.119 331.2);
Tailwind
colors: {
  custom: {
    50: '#ae7da7',
    500: '#8a4883',
    950: '#000000',
  },
}
SCSS
$custom: #8a4883;
$custom-light: #ae7da7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4883",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 306.364,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.11898,
    "h": 331.2
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#8A4883
secondary
#80AE85
accent
#C86B60
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4883

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

Preview Lab → · Contrast checker → · Palette generator →

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