#8A3292#8A3292

#8A3292 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.168 H 324.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8A3292
RGBrgb(138, 50, 146)
HSLhsl(295, 49%, 38%)
HSVhsv(295, 66%, 57%)
CMYKcmyk(5.5%, 65.8%, 0%, 42.7%)
CIE-LABlab(37.41, 50.44, -35.38)
CIE-LCHlch(37.41, 61.61, 324.95°)
OKLaboklab(48.21% 0.1368 -0.0983)
OKLCHoklch(48.21% 0.168 324.3)
XYZxyz(16.8097, 9.7608, 28.1872)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3292 #3A9232
analogous
#5A3292 #8A3292 #92326A
triadic
#8A3292 #928A32 #32928A
tetradic
#8A3292 #925A32 #3A9232 #326A92
square
#8A3292 #925A32 #3A9232 #326A92
split-complementary
#8A3292 #6A9232 #32925A
monochromatic
#341337 #5F2264 #8A3292 #B443BF #C670CE

Accessibility & contrast

On white

7.11
#8A3292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A3292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3292
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3292#FFFFFF#000000##FFFFFF
##8A32921.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5195
Deuteranopia (green-blind)
#425C90
Tritanopia (blue-blind)
#8D415D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3292;
/* rgb */ color: rgb(138, 50, 146);
/* oklch */ color: oklch(48.2% 0.168 324.3);
Tailwind
colors: {
  custom: {
    50: '#af71b2',
    500: '#8a3292',
    950: '#000000',
  },
}
SCSS
$custom: #8a3292;
$custom-light: #af71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3292",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 295,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.16844,
    "h": 324.3
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#8A3292
secondary
#70B66A
accent
#D94F5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3292

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

Preview Lab → · Contrast checker → · Palette generator →

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