#8A3493#8A3493

#8A3493 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.5% C 0.167 H 323.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8A3493
RGBrgb(138, 52, 147)
HSLhsl(294, 48%, 39%)
HSVhsv(294, 65%, 58%)
CMYKcmyk(6.1%, 64.6%, 0%, 42.4%)
CIE-LABlab(37.78, 49.75, -35.40)
CIE-LCHlch(37.78, 61.06, 324.57°)
OKLaboklab(48.5% 0.1344 -0.0983)
OKLCHoklch(48.5% 0.167 323.8)
XYZxyz(16.9752, 9.9668, 28.6278)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3493 #3D9334
analogous
#5B3493 #8A3493 #93346D
triadic
#8A3493 #938A34 #34938A
tetradic
#8A3493 #935B34 #3D9334 #346D93
square
#8A3493 #935B34 #3D9334 #346D93
split-complementary
#8A3493 #6D9334 #34935B
monochromatic
#351439 #602466 #8A3493 #B246BE #C574CE

Accessibility & contrast

On white

7.02
#8A3493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3493
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3493#FFFFFF#000000##FFFFFF
##8A34931.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#435C91
Tritanopia (blue-blind)
#8C425F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3493;
/* rgb */ color: rgb(138, 52, 147);
/* oklch */ color: oklch(48.5% 0.167 323.8);
Tailwind
colors: {
  custom: {
    50: '#af72b3',
    500: '#8a3493',
    950: '#000000',
  },
}
SCSS
$custom: #8a3493;
$custom-light: #af72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3493",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 294.316,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.16654,
    "h": 323.8
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#8A3493
secondary
#74B66D
accent
#D7505D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3493

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

Preview Lab → · Contrast checker → · Palette generator →

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