#8A3393#8A3393

#8A3393 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.4% C 0.168 H 323.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A3393
RGBrgb(138, 51, 147)
HSLhsl(294, 48%, 39%)
HSVhsv(294, 65%, 58%)
CMYKcmyk(6.1%, 65.3%, 0%, 42.4%)
CIE-LABlab(37.62, 50.20, -35.65)
CIE-LCHlch(37.62, 61.57, 324.62°)
OKLaboklab(48.38% 0.1356 -0.0991)
OKLCHoklch(48.38% 0.168 323.9)
XYZxyz(16.9310, 9.8785, 28.6130)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3393 #3C9333
analogous
#5A3393 #8A3393 #93336C
triadic
#8A3393 #938A33 #33938A
tetradic
#8A3393 #935A33 #3C9333 #336C93
square
#8A3393 #935A33 #3C9333 #336C93
split-complementary
#8A3393 #6C9333 #33935A
monochromatic
#351338 #5F2366 #8A3393 #B345BE #C672CE

Accessibility & contrast

On white

7.06
#8A3393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A3393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3393
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3393#FFFFFF#000000##FFFFFF
##8A33931.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5296
Deuteranopia (green-blind)
#435C91
Tritanopia (blue-blind)
#8D425E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3393;
/* rgb */ color: rgb(138, 51, 147);
/* oklch */ color: oklch(48.4% 0.168 323.9);
Tailwind
colors: {
  custom: {
    50: '#af71b3',
    500: '#8a3393',
    950: '#000000',
  },
}
SCSS
$custom: #8a3393;
$custom-light: #af71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3393",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 294.375,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.16795,
    "h": 323.9
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#8A3393
secondary
#73B66C
accent
#D8505D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3393

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

Preview Lab → · Contrast checker → · Palette generator →

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