#8A389F#8A389F

#8A389F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.7% C 0.172 H 318.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A389F
RGBrgb(138, 56, 159)
HSLhsl(288, 48%, 42%)
HSVhsv(288, 65%, 62%)
CMYKcmyk(13.2%, 64.8%, 0%, 37.6%)
CIE-LABlab(39.13, 50.30, -40.51)
CIE-LCHlch(39.13, 64.59, 321.15°)
OKLaboklab(49.7% 0.1297 -0.1133)
OKLCHoklch(49.7% 0.172 318.9)
XYZxyz(18.1526, 10.7356, 33.9102)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A389F #4D9F38
analogous
#57389F #8A389F #9F3881
triadic
#8A389F #9F8A38 #389F8A
tetradic
#8A389F #9F5738 #4D9F38 #38819F
square
#8A389F #9F5738 #4D9F38 #38819F
split-complementary
#8A389F #819F38 #389F57
monochromatic
#3B1844 #632872 #8A389F #AB52C2 #C17FD2

Accessibility & contrast

On white

6.67
#8A389F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A389F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A389F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A389F#FFFFFF#000000##FFFFFF
##8A389F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#3E5F9C
Tritanopia (blue-blind)
#8A4A66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a389f;
/* rgb */ color: rgb(138, 56, 159);
/* oklch */ color: oklch(49.7% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#af74bc',
    500: '#8a389f',
    950: '#000000',
  },
}
SCSS
$custom: #8a389f;
$custom-light: #af74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a389f",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 287.767,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49696,
    "c": 0.1722,
    "h": 318.9
  },
  "luminance": 0.10735
}

Semantic roles & 50–950 ramp

primary
#8A389F
secondary
#85BB77
accent
#D7506C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A389F

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

Preview Lab → · Contrast checker → · Palette generator →

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