#8A389E#8A389E

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

Color values

HEX#8A389E
RGBrgb(138, 56, 158)
HSLhsl(288, 48%, 42%)
HSVhsv(288, 65%, 62%)
CMYKcmyk(12.7%, 64.6%, 0%, 38%)
CIE-LABlab(39.07, 50.10, -40.01)
CIE-LCHlch(39.07, 64.11, 321.39°)
OKLaboklab(49.63% 0.1297 -0.1118)
OKLCHoklch(49.63% 0.171 319.2)
XYZxyz(18.0662, 10.7011, 33.4550)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A389E #4C9E38
analogous
#57389E #8A389E #9E387F
triadic
#8A389E #9E8A38 #389E8A
tetradic
#8A389E #9E5738 #4C9E38 #387F9E
square
#8A389E #9E5738 #4C9E38 #387F9E
split-complementary
#8A389E #7F9E38 #389E57
monochromatic
#3B1844 #632871 #8A389E #AC52C2 #C17FD2

Accessibility & contrast

On white

6.69
#8A389E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A389E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A389E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A389E#FFFFFF#000000##FFFFFF
##8A389E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A1
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#8A4966
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a389e;
/* rgb */ color: rgb(138, 56, 158);
/* oklch */ color: oklch(49.6% 0.171 319.2);
Tailwind
colors: {
  custom: {
    50: '#af74bb',
    500: '#8a389e',
    950: '#000000',
  },
}
SCSS
$custom: #8a389e;
$custom-light: #af74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a389e",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 288.235,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.17123,
    "h": 319.2
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#8A389E
secondary
#84BB77
accent
#D7516B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A389E

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

Preview Lab → · Contrast checker → · Palette generator →

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