#8A389B#8A389B

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

Color values

HEX#8A389B
RGBrgb(138, 56, 155)
HSLhsl(290, 47%, 41%)
HSVhsv(290, 64%, 61%)
CMYKcmyk(11%, 63.9%, 0%, 39.2%)
CIE-LABlab(38.90, 49.50, -38.48)
CIE-LCHlch(38.90, 62.70, 322.14°)
OKLaboklab(49.45% 0.1297 -0.1073)
OKLCHoklch(49.45% 0.168 320.4)
XYZxyz(17.8111, 10.5990, 32.1116)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A389B #499B38
analogous
#59389B #8A389B #9B387B
triadic
#8A389B #9B8A38 #389B8A
tetradic
#8A389B #9B5938 #499B38 #387B9B
square
#8A389B #9B5938 #499B38 #387B9B
split-complementary
#8A389B #7B9B38 #389B59
monochromatic
#3A1841 #62286E #8A389B #AD50C0 #C27DD0

Accessibility & contrast

On white

6.73
#8A389B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A389B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A389B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A389B#FFFFFF#000000##FFFFFF
##8A389B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#415F99
Tritanopia (blue-blind)
#8B4864
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a389b;
/* rgb */ color: rgb(138, 56, 155);
/* oklch */ color: oklch(49.5% 0.168 320.4);
Tailwind
colors: {
  custom: {
    50: '#af74b9',
    500: '#8a389b',
    950: '#000000',
  },
}
SCSS
$custom: #8a389b;
$custom-light: #af74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a389b",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 289.697,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.16833,
    "h": 320.4
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#8A389B
secondary
#81B975
accent
#D75168
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A389B

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

Preview Lab → · Contrast checker → · Palette generator →

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