#8A3789#8A3789

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

Color values

HEX#8A3789
RGBrgb(138, 55, 137)
HSLhsl(301, 43%, 38%)
HSVhsv(301, 60%, 54%)
CMYKcmyk(0%, 60.1%, 0.7%, 45.9%)
CIE-LABlab(37.74, 46.51, -29.35)
CIE-LCHlch(37.74, 55.00, 327.74°)
OKLaboklab(48.29% 0.1299 -0.0809)
OKLCHoklch(48.29% 0.153 328.1)
XYZxyz(16.3626, 9.9428, 24.7194)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3789 #378A38
analogous
#61378A #8A3789 #8A375F
triadic
#8A3789 #898A37 #37898A
tetradic
#8A3789 #8A6137 #378A38 #375F8A
square
#8A3789 #8A6137 #378A38 #375F8A
split-complementary
#8A3789 #5F8A37 #378A61
monochromatic
#321432 #5E265E #8A3789 #B648B4 #C874C7

Accessibility & contrast

On white

7.03
#8A3789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A3789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3789
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3789#FFFFFF#000000##FFFFFF
##8A37891.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#8E415B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3789;
/* rgb */ color: rgb(138, 55, 137);
/* oklch */ color: oklch(48.3% 0.153 328.1);
Tailwind
colors: {
  custom: {
    50: '#af73ac',
    500: '#8a3789',
    950: '#000000',
  },
}
SCSS
$custom: #8a3789;
$custom-light: #af73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3789",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 300.723,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.153,
    "h": 328.1
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#8A3789
secondary
#6DB06D
accent
#D35755
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3789

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

Preview Lab → · Contrast checker → · Palette generator →

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