#8A3492#8A3492

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

Color values

HEX#8A3492
RGBrgb(138, 52, 146)
HSLhsl(295, 47%, 39%)
HSVhsv(295, 64%, 57%)
CMYKcmyk(5.5%, 64.4%, 0%, 42.7%)
CIE-LABlab(37.73, 49.56, -34.88)
CIE-LCHlch(37.73, 60.61, 324.87°)
OKLaboklab(48.44% 0.1344 -0.0968)
OKLCHoklch(48.44% 0.166 324.2)
XYZxyz(16.8971, 9.9355, 28.2163)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3492 #3C9234
analogous
#5B3492 #8A3492 #92346B
triadic
#8A3492 #928A34 #34928A
tetradic
#8A3492 #925B34 #3C9234 #346B92
square
#8A3492 #925B34 #3C9234 #346B92
split-complementary
#8A3492 #6B9234 #34925B
monochromatic
#351438 #5F2465 #8A3492 #B346BD #C673CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3492#FFFFFF#000000##FFFFFF
##8A34921.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)
#225295
Deuteranopia (green-blind)
#445C90
Tritanopia (blue-blind)
#8D425E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3492;
/* rgb */ color: rgb(138, 52, 146);
/* oklch */ color: oklch(48.4% 0.166 324.2);
Tailwind
colors: {
  custom: {
    50: '#af72b2',
    500: '#8a3492',
    950: '#000000',
  },
}
SCSS
$custom: #8a3492;
$custom-light: #af72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3492",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 146
  },
  "hsl": {
    "h": 294.894,
    "s": 47.475,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48437,
    "c": 0.16562,
    "h": 324.2
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#8A3492
secondary
#73B56C
accent
#D7515C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3492

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

Preview Lab → · Contrast checker → · Palette generator →

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