#8A399B#8A399B

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

Color values

HEX#8A399B
RGBrgb(138, 57, 155)
HSLhsl(290, 46%, 42%)
HSVhsv(290, 63%, 61%)
CMYKcmyk(11%, 63.2%, 0%, 39.2%)
CIE-LABlab(39.07, 49.04, -38.21)
CIE-LCHlch(39.07, 62.16, 322.07°)
OKLaboklab(49.57% 0.1284 -0.1065)
OKLCHoklch(49.57% 0.167 320.3)
XYZxyz(17.8600, 10.6969, 32.1279)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A399B #4A9B39
analogous
#59399B #8A399B #9B397B
triadic
#8A399B #9B8A39 #399B8A
tetradic
#8A399B #9B5939 #4A9B39 #397B9B
square
#8A399B #9B5939 #4A9B39 #397B9B
split-complementary
#8A399B #7B9B39 #399B59
monochromatic
#3A1842 #62296E #8A399B #AC52BF #C27FD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A399B#FFFFFF#000000##FFFFFF
##8A399B1.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)
#20569E
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#8B4965
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a399b;
/* rgb */ color: rgb(138, 57, 155);
/* oklch */ color: oklch(49.6% 0.167 320.3);
Tailwind
colors: {
  custom: {
    50: '#af75b9',
    500: '#8a399b',
    950: '#000000',
  },
}
SCSS
$custom: #8a399b;
$custom-light: #af75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a399b",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 289.592,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.16687,
    "h": 320.3
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#8A399B
secondary
#82B977
accent
#D65269
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A399B

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

Preview Lab → · Contrast checker → · Palette generator →

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