#8A3894#8A3894

#8A3894 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.0% C 0.162 H 323.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A3894
RGBrgb(138, 56, 148)
HSLhsl(293, 45%, 40%)
HSVhsv(293, 62%, 58%)
CMYKcmyk(6.8%, 62.2%, 0%, 42%)
CIE-LABlab(38.50, 48.12, -34.87)
CIE-LCHlch(38.50, 59.43, 324.07°)
OKLaboklab(49.03% 0.1294 -0.0968)
OKLCHoklch(49.03% 0.162 323.2)
XYZxyz(17.2402, 10.3707, 29.1049)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3894 #429438
analogous
#5C3894 #8A3894 #943870
triadic
#8A3894 #948A38 #38948A
tetradic
#8A3894 #945C38 #429438 #387094
square
#8A3894 #945C38 #429438 #387094
split-complementary
#8A3894 #709438 #38945C
monochromatic
#37163B #612768 #8A3894 #B04DBC #C47ACD

Accessibility & contrast

On white

6.83
#8A3894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A3894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3894
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3894#FFFFFF#000000##FFFFFF
##8A38941.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#455E92
Tritanopia (blue-blind)
#8C4661
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3894;
/* rgb */ color: rgb(138, 56, 148);
/* oklch */ color: oklch(49.0% 0.162 323.2);
Tailwind
colors: {
  custom: {
    50: '#af74b4',
    500: '#8a3894',
    950: '#000000',
  },
}
SCSS
$custom: #8a3894;
$custom-light: #af74b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3894",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 293.478,
    "s": 45.098,
    "l": 40
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.16165,
    "h": 323.2
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#8A3894
secondary
#79B672
accent
#D55361
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3894

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

Preview Lab → · Contrast checker → · Palette generator →

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