#8A4493#8A4493

#8A4493 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.6% C 0.142 H 322.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A4493
RGBrgb(138, 68, 147)
HSLhsl(293, 37%, 42%)
HSVhsv(293, 54%, 58%)
CMYKcmyk(6.1%, 53.7%, 0%, 42.4%)
CIE-LABlab(40.65, 41.98, -30.88)
CIE-LCHlch(40.65, 52.11, 323.66°)
OKLaboklab(50.59% 0.113 -0.0854)
OKLCHoklch(50.59% 0.142 322.9)
XYZxyz(17.8143, 11.6449, 28.9075)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4493 #4D9344
analogous
#634493 #8A4493 #934474
triadic
#8A4493 #938A44 #44938A
tetradic
#8A4493 #936344 #4D9344 #447493
square
#8A4493 #936344 #4D9344 #447493
split-complementary
#8A4493 #749344 #449363
monochromatic
#3B1D3F #633169 #8A4493 #AB5FB5 #C189C8

Accessibility & contrast

On white

6.31
#8A4493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A4493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4493
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4493#FFFFFF#000000##FFFFFF
##8A44931.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B96
Deuteranopia (green-blind)
#4E6391
Tritanopia (blue-blind)
#8C4E65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4493;
/* rgb */ color: rgb(138, 68, 147);
/* oklch */ color: oklch(50.6% 0.142 322.9);
Tailwind
colors: {
  custom: {
    50: '#ae7bb3',
    500: '#8a4493',
    950: '#000000',
  },
}
SCSS
$custom: #8a4493;
$custom-light: #ae7bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4493",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 147
  },
  "hsl": {
    "h": 293.165,
    "s": 36.744,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.14165,
    "h": 322.9
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#8A4493
secondary
#85B47F
accent
#CD5B68
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4493

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

Preview Lab → · Contrast checker → · Palette generator →

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