#8A3490#8A3490

#8A3490 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.3% C 0.164 H 325.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A3490
RGBrgb(138, 52, 144)
HSLhsl(296, 47%, 38%)
HSVhsv(296, 64%, 56%)
CMYKcmyk(4.2%, 63.9%, 0%, 43.5%)
CIE-LABlab(37.62, 49.19, -33.83)
CIE-LCHlch(37.62, 59.70, 325.48°)
OKLaboklab(48.32% 0.1343 -0.0938)
OKLCHoklch(48.32% 0.164 325.1)
XYZxyz(16.7429, 9.8739, 27.4041)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3490 #3A9034
analogous
#5C3490 #8A3490 #903468
triadic
#8A3490 #908A34 #34908A
tetradic
#8A3490 #905C34 #3A9034 #346890
square
#8A3490 #905C34 #3A9034 #346890
split-complementary
#8A3490 #689034 #34905C
monochromatic
#341436 #5F2463 #8A3490 #B445BC #C672CC

Accessibility & contrast

On white

7.06
#8A3490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A3490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3490
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3490#FFFFFF#000000##FFFFFF
##8A34901.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245293
Deuteranopia (green-blind)
#455C8E
Tritanopia (blue-blind)
#8D415D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3490;
/* rgb */ color: rgb(138, 52, 144);
/* oklch */ color: oklch(48.3% 0.164 325.1);
Tailwind
colors: {
  custom: {
    50: '#af72b1',
    500: '#8a3490',
    950: '#000000',
  },
}
SCSS
$custom: #8a3490;
$custom-light: #af72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3490",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 296.087,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.1638,
    "h": 325.1
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#8A3490
secondary
#70B46B
accent
#D7515A
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3490

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

Preview Lab → · Contrast checker → · Palette generator →

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