#8A509B#8A509B

#8A509B is a mid, vivid purple. Relative luminance 0.135; OKLCH L 52.8% C 0.130 H 318.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A509B
RGBrgb(138, 80, 155)
HSLhsl(286, 32%, 46%)
HSVhsv(286, 48%, 61%)
CMYKcmyk(11%, 48.4%, 0%, 39.2%)
CIE-LABlab(43.52, 37.16, -31.17)
CIE-LCHlch(43.52, 48.51, 320.01°)
OKLaboklab(52.84% 0.0966 -0.0863)
OKLCHoklch(52.84% 0.13 318.2)
XYZxyz(19.2655, 13.5078, 32.5964)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A509B #619B50
analogous
#64509B #8A509B #9B5086
triadic
#8A509B #9B8A50 #509B8A
tetradic
#8A509B #9B6450 #619B50 #50869B
square
#8A509B #9B6450 #619B50 #50869B
split-complementary
#8A509B #869B50 #509B64
monochromatic
#42264A #663B73 #8A509B #A772B6 #C09ACB

Accessibility & contrast

On white

5.67
#8A509B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A509B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A509B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A509B#FFFFFF#000000##FFFFFF
##8A509B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639E
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#8A5A6E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a509b;
/* rgb */ color: rgb(138, 80, 155);
/* oklch */ color: oklch(52.8% 0.130 318.2);
Tailwind
colors: {
  custom: {
    50: '#ae83b9',
    500: '#8a509b',
    950: '#000000',
  },
}
SCSS
$custom: #8a509b;
$custom-light: #ae83b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a509b",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 286.4,
    "s": 31.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.12956,
    "h": 318.2
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#8A509B
secondary
#98B88F
accent
#C86077
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A509B

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

Preview Lab → · Contrast checker → · Palette generator →

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