#8A319F#8A319F

#8A319F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.182 H 319.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8A319F
RGBrgb(138, 49, 159)
HSLhsl(289, 53%, 41%)
HSVhsv(289, 69%, 62%)
CMYKcmyk(13.2%, 69.2%, 0%, 37.6%)
CIE-LABlab(38.03, 53.38, -42.27)
CIE-LCHlch(38.03, 68.09, 321.62°)
OKLaboklab(48.9% 0.1378 -0.1184)
OKLCHoklch(48.9% 0.182 319.3)
XYZxyz(17.8367, 10.1039, 33.8049)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A319F #469F31
analogous
#53319F #8A319F #9F317D
triadic
#8A319F #9F8A31 #319F8A
tetradic
#8A319F #9F5331 #469F31 #317D9F
square
#8A319F #9F5331 #469F31 #317D9F
split-complementary
#8A319F #7D9F31 #319F53
monochromatic
#391441 #612370 #8A319F #AE47C6 #C376D5

Accessibility & contrast

On white

6.95
#8A319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A319F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A319F#FFFFFF#000000##FFFFFF
##8A319F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A2
Deuteranopia (green-blind)
#395D9C
Tritanopia (blue-blind)
#8A4564
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a319f;
/* rgb */ color: rgb(138, 49, 159);
/* oklch */ color: oklch(48.9% 0.182 319.3);
Tailwind
colors: {
  custom: {
    50: '#af71bc',
    500: '#8a319f',
    950: '#000000',
  },
}
SCSS
$custom: #8a319f;
$custom-light: #af71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a319f",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 288.545,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.18169,
    "h": 319.3
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#8A319F
secondary
#7EBD6F
accent
#DC4C67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A319F

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

Preview Lab → · Contrast checker → · Palette generator →

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