#8A399C#8A399C

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

Color values

HEX#8A399C
RGBrgb(138, 57, 156)
HSLhsl(289, 46%, 42%)
HSVhsv(289, 63%, 61%)
CMYKcmyk(11.5%, 63.5%, 0%, 38.8%)
CIE-LABlab(39.12, 49.24, -38.72)
CIE-LCHlch(39.12, 62.64, 321.82°)
OKLaboklab(49.63% 0.1285 -0.108)
OKLCHoklch(49.63% 0.168 319.9)
XYZxyz(17.9444, 10.7307, 32.5721)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A399C #4B9C39
analogous
#59399C #8A399C #9C397D
triadic
#8A399C #9C8A39 #399C8A
tetradic
#8A399C #9C5939 #4B9C39 #397D9C
square
#8A399C #9C5939 #4B9C39 #397D9C
split-complementary
#8A399C #7D9C39 #399C59
monochromatic
#3B1842 #62296F #8A399C #AC52C0 #C27FD0

Accessibility & contrast

On white

6.68
#8A399C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A399C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A399C#FFFFFF#000000##FFFFFF
##8A399C1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F579F
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#8B4965
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a399c;
/* rgb */ color: rgb(138, 57, 156);
/* oklch */ color: oklch(49.6% 0.168 319.9);
Tailwind
colors: {
  custom: {
    50: '#af75ba',
    500: '#8a399c',
    950: '#000000',
  },
}
SCSS
$custom: #8a399c;
$custom-light: #af75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a399c",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 289.091,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49633,
    "c": 0.16785,
    "h": 319.9
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#8A399C
secondary
#83BA77
accent
#D6526A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A399C

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

Preview Lab → · Contrast checker → · Palette generator →

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