#8A4B95#8A4B95

#8A4B95 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.7% C 0.132 H 321.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A4B95
RGBrgb(138, 75, 149)
HSLhsl(291, 33%, 44%)
HSVhsv(291, 50%, 58%)
CMYKcmyk(7.4%, 49.7%, 0%, 41.6%)
CIE-LABlab(42.16, 38.65, -29.70)
CIE-LCHlch(42.16, 48.74, 322.46°)
OKLaboklab(51.74% 0.1031 -0.082)
OKLCHoklch(51.74% 0.132 321.5)
XYZxyz(18.4215, 12.6061, 29.8908)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4B95 #56954B
analogous
#654B95 #8A4B95 #954B7B
triadic
#8A4B95 #958A4B #4B958A
tetradic
#8A4B95 #95654B #56954B #4B7B95
square
#8A4B95 #95654B #56954B #4B7B95
split-complementary
#8A4B95 #7B954B #4B9565
monochromatic
#3F2244 #64376C #8A4B95 #A969B4 #C092C8

Accessibility & contrast

On white

5.96
#8A4B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A4B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4B95
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4B95#FFFFFF#000000##FFFFFF
##8A4B951.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F98
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#8B5569
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4b95;
/* rgb */ color: rgb(138, 75, 149);
/* oklch */ color: oklch(51.7% 0.132 321.5);
Tailwind
colors: {
  custom: {
    50: '#ae80b4',
    500: '#8a4b95',
    950: '#000000',
  },
}
SCSS
$custom: #8a4b95;
$custom-light: #ae80b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4b95",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 291.081,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51741,
    "c": 0.13175,
    "h": 321.5
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#8A4B95
secondary
#8EB487
accent
#C95F6E
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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