#8A389D#8A389D

#8A389D is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.6% C 0.170 H 319.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A389D
RGBrgb(138, 56, 157)
HSLhsl(289, 47%, 42%)
HSVhsv(289, 64%, 62%)
CMYKcmyk(12.1%, 64.3%, 0%, 38.4%)
CIE-LABlab(39.01, 49.90, -39.50)
CIE-LCHlch(39.01, 63.64, 321.64°)
OKLaboklab(49.57% 0.1297 -0.1103)
OKLCHoklch(49.57% 0.17 319.6)
XYZxyz(17.9804, 10.6668, 33.0035)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A389D #4B9D38
analogous
#58389D #8A389D #9D387E
triadic
#8A389D #9D8A38 #389D8A
tetradic
#8A389D #9D5838 #4B9D38 #387E9D
square
#8A389D #9D5838 #4B9D38 #387E9D
split-complementary
#8A389D #7E9D38 #389D58
monochromatic
#3B1843 #622870 #8A389D #AC51C1 #C27ED1

Accessibility & contrast

On white

6.70
#8A389D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A389D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A389D#FFFFFF#000000##FFFFFF
##8A389D1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#405F9A
Tritanopia (blue-blind)
#8A4965
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a389d;
/* rgb */ color: rgb(138, 56, 157);
/* oklch */ color: oklch(49.6% 0.170 319.6);
Tailwind
colors: {
  custom: {
    50: '#af74ba',
    500: '#8a389d',
    950: '#000000',
  },
}
SCSS
$custom: #8a389d;
$custom-light: #af74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a389d",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 288.713,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.17026,
    "h": 319.6
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#8A389D
secondary
#83BA76
accent
#D7516A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A389D

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

Preview Lab → · Contrast checker → · Palette generator →

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