#8A3A90#8A3A90

#8A3A90 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.155 H 324.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A3A90
RGBrgb(138, 58, 144)
HSLhsl(296, 43%, 40%)
HSVhsv(296, 60%, 56%)
CMYKcmyk(4.2%, 59.7%, 0%, 43.5%)
CIE-LABlab(38.63, 46.40, -32.23)
CIE-LCHlch(38.63, 56.50, 325.21°)
OKLaboklab(49.06% 0.1266 -0.0892)
OKLCHoklch(49.06% 0.155 324.8)
XYZxyz(17.0279, 10.4440, 27.4991)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A90 #40903A
analogous
#5F3A90 #8A3A90 #903A6B
triadic
#8A3A90 #908A3A #3A908A
tetradic
#8A3A90 #905F3A #40903A #3A6B90
square
#8A3A90 #905F3A #40903A #3A6B90
split-complementary
#8A3A90 #6B903A #3A905F
monochromatic
#361739 #602864 #8A3A90 #B14FB8 #C47BCA

Accessibility & contrast

On white

6.80
#8A3A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A3A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A90
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A90#FFFFFF#000000##FFFFFF
##8A3A901.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5593
Deuteranopia (green-blind)
#495E8E
Tritanopia (blue-blind)
#8D465F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3a90;
/* rgb */ color: rgb(138, 58, 144);
/* oklch */ color: oklch(49.1% 0.155 324.8);
Tailwind
colors: {
  custom: {
    50: '#af75b1',
    500: '#8a3a90',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a90;
$custom-light: #af75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a90",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 295.814,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.15484,
    "h": 324.8
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#8A3A90
secondary
#77B373
accent
#D2555E
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3A90

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

Preview Lab → · Contrast checker → · Palette generator →

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