#8A3395#8A3395

#8A3395 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.170 H 323.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A3395
RGBrgb(138, 51, 149)
HSLhsl(293, 49%, 39%)
HSVhsv(293, 66%, 58%)
CMYKcmyk(7.4%, 65.8%, 0%, 41.6%)
CIE-LABlab(37.74, 50.58, -36.69)
CIE-LCHlch(37.74, 62.48, 324.05°)
OKLaboklab(48.5% 0.1357 -0.1021)
OKLCHoklch(48.5% 0.17 323)
XYZxyz(17.0894, 9.9418, 29.4468)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3395 #3E9533
analogous
#593395 #8A3395 #95336F
triadic
#8A3395 #958A33 #33958A
tetradic
#8A3395 #955933 #3E9533 #336F95
square
#8A3395 #955933 #3E9533 #336F95
split-complementary
#8A3395 #6F9533 #339559
monochromatic
#36143A #602367 #8A3395 #B246C0 #C573CF

Accessibility & contrast

On white

7.03
#8A3395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A3395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3395
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3395#FFFFFF#000000##FFFFFF
##8A33951.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5298
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#8C425F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3395;
/* rgb */ color: rgb(138, 51, 149);
/* oklch */ color: oklch(48.5% 0.170 323.0);
Tailwind
colors: {
  custom: {
    50: '#af71b4',
    500: '#8a3395',
    950: '#000000',
  },
}
SCSS
$custom: #8a3395;
$custom-light: #af71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3395",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 293.265,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.485,
    "c": 0.16978,
    "h": 323
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#8A3395
secondary
#75B76C
accent
#D94F5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3395

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

Preview Lab → · Contrast checker → · Palette generator →

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