#8A3A95#8A3A95

#8A3A95 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.3% C 0.160 H 322.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A3A95
RGBrgb(138, 58, 149)
HSLhsl(293, 44%, 41%)
HSVhsv(293, 61%, 58%)
CMYKcmyk(7.4%, 61.1%, 0%, 41.6%)
CIE-LABlab(38.90, 47.37, -34.84)
CIE-LCHlch(38.90, 58.81, 323.66°)
OKLaboklab(49.34% 0.1269 -0.0968)
OKLCHoklch(49.34% 0.16 322.7)
XYZxyz(17.4186, 10.6002, 29.5565)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A95 #45953A
analogous
#5C3A95 #8A3A95 #953A72
triadic
#8A3A95 #958A3A #3A958A
tetradic
#8A3A95 #955C3A #45953A #3A7295
square
#8A3A95 #955C3A #45953A #3A7295
split-complementary
#8A3A95 #72953A #3A955C
monochromatic
#38183D #612969 #8A3A95 #AE51BB #C37DCC

Accessibility & contrast

On white

6.73
#8A3A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3A95
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A95#FFFFFF#000000##FFFFFF
##8A3A951.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285698
Deuteranopia (green-blind)
#465F93
Tritanopia (blue-blind)
#8C4762
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3a95;
/* rgb */ color: rgb(138, 58, 149);
/* oklch */ color: oklch(49.3% 0.160 322.7);
Tailwind
colors: {
  custom: {
    50: '#af75b4',
    500: '#8a3a95',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a95;
$custom-light: #af75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a95",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 292.747,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.1596,
    "h": 322.7
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#8A3A95
secondary
#7DB675
accent
#D45464
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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