#8A509D#8A509D

#8A509D is a mid, vivid purple. Relative luminance 0.136; OKLCH L 52.9% C 0.132 H 317.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A509D
RGBrgb(138, 80, 157)
HSLhsl(285, 32%, 46%)
HSVhsv(285, 49%, 62%)
CMYKcmyk(12.1%, 49%, 0%, 38.4%)
CIE-LABlab(43.62, 37.59, -32.21)
CIE-LCHlch(43.62, 49.51, 319.41°)
OKLaboklab(52.95% 0.0969 -0.0893)
OKLCHoklch(52.95% 0.132 317.3)
XYZxyz(19.4348, 13.5755, 33.4883)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A509D #639D50
analogous
#64509D #8A509D #9D508A
triadic
#8A509D #9D8A50 #509D8A
tetradic
#8A509D #9D6450 #639D50 #508A9D
square
#8A509D #9D6450 #639D50 #508A9D
split-complementary
#8A509D #8A9D50 #509D64
monochromatic
#43274C #663B74 #8A509D #A773B8 #C09BCC

Accessibility & contrast

On white

5.65
#8A509D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8A509D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A509D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A509D#FFFFFF#000000##FFFFFF
##8A509D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4263A0
Deuteranopia (green-blind)
#53699B
Tritanopia (blue-blind)
#8A5B6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a509d;
/* rgb */ color: rgb(138, 80, 157);
/* oklch */ color: oklch(52.9% 0.132 317.3);
Tailwind
colors: {
  custom: {
    50: '#ae83ba',
    500: '#8a509d',
    950: '#000000',
  },
}
SCSS
$custom: #8a509d;
$custom-light: #ae83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a509d",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 285.195,
    "s": 32.489,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.13179,
    "h": 317.3
  },
  "luminance": 0.13575
}

Semantic roles & 50–950 ramp

primary
#8A509D
secondary
#9AB990
accent
#C95F79
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A509D

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

Preview Lab → · Contrast checker → · Palette generator →

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