#8A5095#8A5095

#8A5095 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 52.5% C 0.123 H 321.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A5095
RGBrgb(138, 80, 149)
HSLhsl(290, 30%, 45%)
HSVhsv(290, 46%, 58%)
CMYKcmyk(7.4%, 46.3%, 0%, 41.6%)
CIE-LABlab(43.23, 35.90, -28.04)
CIE-LCHlch(43.23, 45.55, 322.01°)
OKLaboklab(52.53% 0.0956 -0.0773)
OKLCHoklch(52.53% 0.123 321.1)
XYZxyz(18.7741, 13.3112, 30.0083)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5095 #5B9550
analogous
#685095 #8A5095 #95507D
triadic
#8A5095 #958A50 #50958A
tetradic
#8A5095 #956850 #5B9550 #507D95
square
#8A5095 #956850 #5B9550 #507D95
split-complementary
#8A5095 #7D9550 #509568
monochromatic
#402545 #653B6D #8A5095 #A870B2 #C098C8

Accessibility & contrast

On white

5.73
#8A5095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8A5095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5095
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5095#FFFFFF#000000##FFFFFF
##8A50951.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466297
Deuteranopia (green-blind)
#566893
Tritanopia (blue-blind)
#8B596B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a5095;
/* rgb */ color: rgb(138, 80, 149);
/* oklch */ color: oklch(52.5% 0.123 321.1);
Tailwind
colors: {
  custom: {
    50: '#ae83b4',
    500: '#8a5095',
    950: '#000000',
  },
}
SCSS
$custom: #8a5095;
$custom-light: #ae83b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5095",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 290.435,
    "s": 30.131,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.12293,
    "h": 321.1
  },
  "luminance": 0.13311
}

Semantic roles & 50–950 ramp

primary
#8A5095
secondary
#93B48C
accent
#C66172
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5095

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

Preview Lab → · Contrast checker → · Palette generator →

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