#8A3290#8A3290

#8A3290 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.167 H 325.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8A3290
RGBrgb(138, 50, 144)
HSLhsl(296, 48%, 38%)
HSVhsv(296, 65%, 56%)
CMYKcmyk(4.2%, 65.3%, 0%, 43.5%)
CIE-LABlab(37.30, 50.07, -34.34)
CIE-LCHlch(37.30, 60.71, 325.56°)
OKLaboklab(48.09% 0.1367 -0.0952)
OKLCHoklch(48.09% 0.167 325.1)
XYZxyz(16.6555, 9.6991, 27.3750)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3290 #389032
analogous
#5B3290 #8A3290 #903267
triadic
#8A3290 #908A32 #32908A
tetradic
#8A3290 #905B32 #389032 #326790
square
#8A3290 #905B32 #389032 #326790
split-complementary
#8A3290 #679032 #32905B
monochromatic
#331235 #5E2263 #8A3290 #B542BD #C76FCD

Accessibility & contrast

On white

7.14
#8A3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A3290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3290
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3290#FFFFFF#000000##FFFFFF
##8A32901.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215193
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#8D405C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3290;
/* rgb */ color: rgb(138, 50, 144);
/* oklch */ color: oklch(48.1% 0.167 325.1);
Tailwind
colors: {
  custom: {
    50: '#af71b1',
    500: '#8a3290',
    950: '#000000',
  },
}
SCSS
$custom: #8a3290;
$custom-light: #af71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3290",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 296.17,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.16663,
    "h": 325.1
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#8A3290
secondary
#6EB569
accent
#D85058
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3290

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

Preview Lab → · Contrast checker → · Palette generator →

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