#8A3495#8A3495

#8A3495 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.168 H 323.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A3495
RGBrgb(138, 52, 149)
HSLhsl(293, 48%, 39%)
HSVhsv(293, 65%, 58%)
CMYKcmyk(7.4%, 65.1%, 0%, 41.6%)
CIE-LABlab(37.90, 50.14, -36.43)
CIE-LCHlch(37.90, 61.98, 323.99°)
OKLaboklab(48.62% 0.1345 -0.1013)
OKLCHoklch(48.62% 0.168 323)
XYZxyz(17.1335, 10.0301, 29.4615)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3495 #3F9534
analogous
#5A3495 #8A3495 #953470
triadic
#8A3495 #958A34 #34958A
tetradic
#8A3495 #955A34 #3F9534 #347095
square
#8A3495 #955A34 #3F9534 #347095
split-complementary
#8A3495 #709534 #34955A
monochromatic
#36143A #602468 #8A3495 #B147BF #C575CF

Accessibility & contrast

On white

6.99
#8A3495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A3495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3495
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3495#FFFFFF#000000##FFFFFF
##8A34951.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#8C4360
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3495;
/* rgb */ color: rgb(138, 52, 149);
/* oklch */ color: oklch(48.6% 0.168 323.0);
Tailwind
colors: {
  custom: {
    50: '#af72b4',
    500: '#8a3495',
    950: '#000000',
  },
}
SCSS
$custom: #8a3495;
$custom-light: #af72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3495",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 293.196,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48615,
    "c": 0.16838,
    "h": 323
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#8A3495
secondary
#76B76E
accent
#D8505F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3495

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

Preview Lab → · Contrast checker → · Palette generator →

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