#8A3695#8A3695

#8A3695 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.166 H 322.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A3695
RGBrgb(138, 54, 149)
HSLhsl(293, 47%, 40%)
HSVhsv(293, 64%, 58%)
CMYKcmyk(7.4%, 63.8%, 0%, 41.6%)
CIE-LABlab(38.22, 49.24, -35.92)
CIE-LCHlch(38.22, 60.95, 323.89°)
OKLaboklab(48.85% 0.132 -0.0999)
OKLCHoklch(48.85% 0.166 322.9)
XYZxyz(17.2247, 10.2125, 29.4919)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3695 #419536
analogous
#5B3695 #8A3695 #953670
triadic
#8A3695 #958A36 #36958A
tetradic
#8A3695 #955B36 #419536 #367095
square
#8A3695 #955B36 #419536 #367095
split-complementary
#8A3695 #709536 #36955B
monochromatic
#37153B #602668 #8A3695 #B04BBE #C478CE

Accessibility & contrast

On white

6.90
#8A3695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A3695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3695
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3695#FFFFFF#000000##FFFFFF
##8A36951.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#435D93
Tritanopia (blue-blind)
#8C4560
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3695;
/* rgb */ color: rgb(138, 54, 149);
/* oklch */ color: oklch(48.9% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#af73b4',
    500: '#8a3695',
    950: '#000000',
  },
}
SCSS
$custom: #8a3695;
$custom-light: #af73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3695",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 149
  },
  "hsl": {
    "h": 293.053,
    "s": 46.798,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.16552,
    "h": 322.9
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#8A3695
secondary
#78B770
accent
#D65161
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3695

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

Preview Lab → · Contrast checker → · Palette generator →

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