#8A389C#8A389C

#8A389C is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.5% C 0.169 H 320.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A389C
RGBrgb(138, 56, 156)
HSLhsl(289, 47%, 42%)
HSVhsv(289, 64%, 61%)
CMYKcmyk(11.5%, 64.1%, 0%, 38.8%)
CIE-LABlab(38.95, 49.70, -38.99)
CIE-LCHlch(38.95, 63.17, 321.89°)
OKLaboklab(49.51% 0.1297 -0.1088)
OKLCHoklch(49.51% 0.169 320)
XYZxyz(17.8954, 10.6328, 32.5557)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A389C #4A9C38
analogous
#58389C #8A389C #9C387C
triadic
#8A389C #9C8A38 #389C8A
tetradic
#8A389C #9C5838 #4A9C38 #387C9C
square
#8A389C #9C5838 #4A9C38 #387C9C
split-complementary
#8A389C #7C9C38 #389C58
monochromatic
#3A1842 #62286F #8A389C #AC51C0 #C27ED1

Accessibility & contrast

On white

6.72
#8A389C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A389C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A389C#FFFFFF#000000##FFFFFF
##8A389C1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569F
Deuteranopia (green-blind)
#405F99
Tritanopia (blue-blind)
#8B4965
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a389c;
/* rgb */ color: rgb(138, 56, 156);
/* oklch */ color: oklch(49.5% 0.169 320.0);
Tailwind
colors: {
  custom: {
    50: '#af74ba',
    500: '#8a389c',
    950: '#000000',
  },
}
SCSS
$custom: #8a389c;
$custom-light: #af74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a389c",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 289.2,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.1693,
    "h": 320
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#8A389C
secondary
#82BA76
accent
#D75169
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A389C

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

Preview Lab → · Contrast checker → · Palette generator →

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