#8A4492#8A4492

#8A4492 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.5% C 0.141 H 323.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A4492
RGBrgb(138, 68, 146)
HSLhsl(294, 36%, 42%)
HSVhsv(294, 53%, 57%)
CMYKcmyk(5.5%, 53.4%, 0%, 42.7%)
CIE-LABlab(40.60, 41.78, -30.35)
CIE-LCHlch(40.60, 51.64, 324.00°)
OKLaboklab(50.53% 0.1129 -0.0838)
OKLCHoklch(50.53% 0.141 323.4)
XYZxyz(17.7362, 11.6137, 28.4960)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4492 #4C9244
analogous
#634492 #8A4492 #924473
triadic
#8A4492 #928A44 #44928A
tetradic
#8A4492 #926344 #4C9244 #447392
square
#8A4492 #926344 #4C9244 #447392
split-complementary
#8A4492 #739244 #449263
monochromatic
#3B1D3E #633168 #8A4492 #AC5FB4 #C189C8

Accessibility & contrast

On white

6.32
#8A4492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A4492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4492
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4492#FFFFFF#000000##FFFFFF
##8A44921.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A95
Deuteranopia (green-blind)
#4F6390
Tritanopia (blue-blind)
#8C4E64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4492;
/* rgb */ color: rgb(138, 68, 146);
/* oklch */ color: oklch(50.5% 0.141 323.4);
Tailwind
colors: {
  custom: {
    50: '#ae7bb2',
    500: '#8a4492',
    950: '#000000',
  },
}
SCSS
$custom: #8a4492;
$custom-light: #ae7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4492",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 293.846,
    "s": 36.449,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.14063,
    "h": 323.4
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#8A4492
secondary
#84B37F
accent
#CC5B67
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4492

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

Preview Lab → · Contrast checker → · Palette generator →

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