#8A3D8A#8A3D8A

#8A3D8A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.1% C 0.144 H 327.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A3D8A
RGBrgb(138, 61, 138)
HSLhsl(300, 39%, 39%)
HSVhsv(300, 56%, 54%)
CMYKcmyk(0%, 55.8%, 0%, 45.9%)
CIE-LABlab(38.86, 43.80, -28.21)
CIE-LCHlch(38.86, 52.10, 327.21°)
OKLaboklab(49.12% 0.1218 -0.0776)
OKLCHoklch(49.12% 0.144 327.5)
XYZxyz(16.7372, 10.5767, 25.1998)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D8A #3D8A3D
analogous
#643D8A #8A3D8A #8A3D64
triadic
#8A3D8A #8A8A3D #3D8A8A
tetradic
#8A3D8A #8A643D #3D8A3D #3D648A
square
#8A3D8A #8A643D #3D8A3D #3D648A
split-complementary
#8A3D8A #648A3D #3D8A64
monochromatic
#351735 #602A60 #8A3D8A #B252B2 #C57CC5

Accessibility & contrast

On white

6.74
#8A3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A3D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D8A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D8A#FFFFFF#000000##FFFFFF
##8A3D8A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#8E465E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3d8a;
/* rgb */ color: rgb(138, 61, 138);
/* oklch */ color: oklch(49.1% 0.144 327.5);
Tailwind
colors: {
  custom: {
    50: '#ae77ac',
    500: '#8a3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d8a;
$custom-light: #ae77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d8a",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.14445,
    "h": 327.5
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#8A3D8A
secondary
#74AF74
accent
#CF5959
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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