#8A3E89#8A3E89

#8A3E89 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.2% C 0.142 H 328.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8A3E89
RGBrgb(138, 62, 137)
HSLhsl(301, 38%, 39%)
HSVhsv(301, 55%, 54%)
CMYKcmyk(0%, 55.1%, 0.7%, 45.9%)
CIE-LABlab(38.99, 43.11, -27.39)
CIE-LCHlch(38.99, 51.07, 327.57°)
OKLaboklab(49.21% 0.1203 -0.0752)
OKLCHoklch(49.21% 0.142 328)
XYZxyz(16.7190, 10.6557, 24.8382)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E89 #3E8A3F
analogous
#653E8A #8A3E89 #8A3E63
triadic
#8A3E89 #898A3E #3E898A
tetradic
#8A3E89 #8A653E #3E8A3F #3E638A
square
#8A3E89 #8A653E #3E8A3F #3E638A
split-complementary
#8A3E89 #638A3E #3E8A65
monochromatic
#361835 #602B5F #8A3E89 #B253B1 #C57EC4

Accessibility & contrast

On white

6.71
#8A3E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A3E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E89
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E89#FFFFFF#000000##FFFFFF
##8A3E891.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558B
Deuteranopia (green-blind)
#4F5F87
Tritanopia (blue-blind)
#8E465D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3e89;
/* rgb */ color: rgb(138, 62, 137);
/* oklch */ color: oklch(49.2% 0.142 328.0);
Tailwind
colors: {
  custom: {
    50: '#ae77ab',
    500: '#8a3e89',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e89;
$custom-light: #ae77ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e89",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 300.789,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.14187,
    "h": 328
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#8A3E89
secondary
#75AF76
accent
#CE5B5A
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3E89

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

Preview Lab → · Contrast checker → · Palette generator →

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