#8A3293#8A3293

#8A3293 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.169 H 323.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A3293
RGBrgb(138, 50, 147)
HSLhsl(294, 49%, 39%)
HSVhsv(294, 66%, 58%)
CMYKcmyk(6.1%, 66%, 0%, 42.4%)
CIE-LABlab(37.47, 50.63, -35.90)
CIE-LCHlch(37.47, 62.07, 324.66°)
OKLaboklab(48.27% 0.1368 -0.0998)
OKLCHoklch(48.27% 0.169 323.9)
XYZxyz(16.8878, 9.7920, 28.5986)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3293 #3B9332
analogous
#593293 #8A3293 #93326B
triadic
#8A3293 #938A32 #32938A
tetradic
#8A3293 #935932 #3B9332 #326B93
square
#8A3293 #935932 #3B9332 #326B93
split-complementary
#8A3293 #6B9332 #329359
monochromatic
#341338 #5F2265 #8A3293 #B443BF #C671CF

Accessibility & contrast

On white

7.10
#8A3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3293
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3293#FFFFFF#000000##FFFFFF
##8A32931.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5196
Deuteranopia (green-blind)
#425C91
Tritanopia (blue-blind)
#8D415E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3293;
/* rgb */ color: rgb(138, 50, 147);
/* oklch */ color: oklch(48.3% 0.169 323.9);
Tailwind
colors: {
  custom: {
    50: '#af71b3',
    500: '#8a3293',
    950: '#000000',
  },
}
SCSS
$custom: #8a3293;
$custom-light: #af71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3293",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 294.433,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.16934,
    "h": 323.9
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#8A3293
secondary
#71B76A
accent
#D94F5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3293

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

Preview Lab → · Contrast checker → · Palette generator →

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