#8A3389#8A3389

#8A3389 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.159 H 328.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8A3389
RGBrgb(138, 51, 137)
HSLhsl(301, 46%, 37%)
HSVhsv(301, 63%, 54%)
CMYKcmyk(0%, 63%, 0.7%, 45.9%)
CIE-LABlab(37.07, 48.34, -30.40)
CIE-LCHlch(37.07, 57.11, 327.84°)
OKLaboklab(47.81% 0.1351 -0.0838)
OKLCHoklch(47.81% 0.159 328.2)
XYZxyz(16.1802, 9.5781, 24.6586)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3389 #338A34
analogous
#60338A #8A3389 #8A335D
triadic
#8A3389 #898A33 #33898A
tetradic
#8A3389 #8A6033 #338A34 #335D8A
square
#8A3389 #8A6033 #338A34 #335D8A
split-complementary
#8A3389 #5D8A33 #338A60
monochromatic
#311230 #5D225D #8A3389 #B744B5 #C96EC8

Accessibility & contrast

On white

7.20
#8A3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3389
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3389#FFFFFF#000000##FFFFFF
##8A33891.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#485B87
Tritanopia (blue-blind)
#8E3E59
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3389;
/* rgb */ color: rgb(138, 51, 137);
/* oklch */ color: oklch(47.8% 0.159 328.2);
Tailwind
colors: {
  custom: {
    50: '#af71ac',
    500: '#8a3389',
    950: '#000000',
  },
}
SCSS
$custom: #8a3389;
$custom-light: #af71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3389",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 300.69,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.15898,
    "h": 328.2
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#8A3389
secondary
#67B168
accent
#D65452
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3389

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

Preview Lab → · Contrast checker → · Palette generator →

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