#8A519F#8A519F

#8A519F is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.2% C 0.132 H 316.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A519F
RGBrgb(138, 81, 159)
HSLhsl(284, 33%, 47%)
HSVhsv(284, 49%, 62%)
CMYKcmyk(13.2%, 49.1%, 0%, 37.6%)
CIE-LABlab(43.93, 37.47, -32.91)
CIE-LCHlch(43.93, 49.87, 318.71°)
OKLaboklab(53.22% 0.0957 -0.0913)
OKLCHoklch(53.22% 0.132 316.4)
XYZxyz(19.6807, 13.7919, 34.4195)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A519F #669F51
analogous
#63519F #8A519F #9F518D
triadic
#8A519F #9F8A51 #519F8A
tetradic
#8A519F #9F6351 #669F51 #518D9F
square
#8A519F #9F6351 #669F51 #518D9F
split-complementary
#8A519F #8D9F51 #519F63
monochromatic
#44284E #673C76 #8A519F #A675B9 #C09DCD

Accessibility & contrast

On white

5.59
#8A519F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A519F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A519F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A519F#FFFFFF#000000##FFFFFF
##8A519F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A2
Deuteranopia (green-blind)
#526A9D
Tritanopia (blue-blind)
#895C70
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a519f;
/* rgb */ color: rgb(138, 81, 159);
/* oklch */ color: oklch(53.2% 0.132 316.4);
Tailwind
colors: {
  custom: {
    50: '#ae84bb',
    500: '#8a519f',
    950: '#000000',
  },
}
SCSS
$custom: #8a519f;
$custom-light: #ae84bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a519f",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 283.846,
    "s": 32.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.13232,
    "h": 316.4
  },
  "luminance": 0.13791
}

Semantic roles & 50–950 ramp

primary
#8A519F
secondary
#9DBA92
accent
#C95F7C
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A519F

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

Preview Lab → · Contrast checker → · Palette generator →

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