#8A4A90#8A4A90

#8A4A90 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.3% C 0.128 H 324.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A4A90
RGBrgb(138, 74, 144)
HSLhsl(295, 32%, 43%)
HSVhsv(295, 49%, 56%)
CMYKcmyk(4.2%, 48.6%, 0%, 43.5%)
CIE-LABlab(41.71, 38.18, -27.39)
CIE-LCHlch(41.71, 46.99, 324.34°)
OKLaboklab(51.33% 0.1038 -0.0754)
OKLCHoklch(51.33% 0.128 324)
XYZxyz(17.9636, 12.3153, 27.8110)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4A90 #50904A
analogous
#674A90 #8A4A90 #904A73
triadic
#8A4A90 #908A4A #4A908A
tetradic
#8A4A90 #90674A #50904A #4A7390
square
#8A4A90 #90674A #50904A #4A7390
split-complementary
#8A4A90 #73904A #4A9067
monochromatic
#3D203F #633568 #8A4A90 #AA67B1 #C18FC5

Accessibility & contrast

On white

6.06
#8A4A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A4A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4A90
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4A90#FFFFFF#000000##FFFFFF
##8A4A901.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#8C5266
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4a90;
/* rgb */ color: rgb(138, 74, 144);
/* oklch */ color: oklch(51.3% 0.128 324.0);
Tailwind
colors: {
  custom: {
    50: '#ae7fb1',
    500: '#8a4a90',
    950: '#000000',
  },
}
SCSS
$custom: #8a4a90;
$custom-light: #ae7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4a90",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 144
  },
  "hsl": {
    "h": 294.857,
    "s": 32.11,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51327,
    "c": 0.12827,
    "h": 324
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#8A4A90
secondary
#88B184
accent
#C86069
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4A90

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

Preview Lab → · Contrast checker → · Palette generator →

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