#8A4495#8A4495

#8A4495 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.7% C 0.144 H 322.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A4495
RGBrgb(138, 68, 149)
HSLhsl(292, 37%, 43%)
HSVhsv(292, 54%, 58%)
CMYKcmyk(7.4%, 54.4%, 0%, 41.6%)
CIE-LABlab(40.75, 42.38, -31.92)
CIE-LCHlch(40.75, 53.06, 323.01°)
OKLaboklab(50.7% 0.1133 -0.0884)
OKLCHoklch(50.7% 0.144 322)
XYZxyz(17.9726, 11.7083, 29.7412)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4495 #4F9544
analogous
#624495 #8A4495 #954477
triadic
#8A4495 #958A44 #44958A
tetradic
#8A4495 #956244 #4F9544 #447795
square
#8A4495 #956244 #4F9544 #447795
split-complementary
#8A4495 #779544 #449562
monochromatic
#3C1E41 #63316B #8A4495 #AB60B6 #C18ACA

Accessibility & contrast

On white

6.28
#8A4495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A4495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4495
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4495#FFFFFF#000000##FFFFFF
##8A44951.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B98
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#8C4F66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4495;
/* rgb */ color: rgb(138, 68, 149);
/* oklch */ color: oklch(50.7% 0.144 322.0);
Tailwind
colors: {
  custom: {
    50: '#ae7bb4',
    500: '#8a4495',
    950: '#000000',
  },
}
SCSS
$custom: #8a4495;
$custom-light: #ae7bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4495",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 291.852,
    "s": 37.327,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50696,
    "c": 0.14368,
    "h": 322
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#8A4495
secondary
#87B580
accent
#CD5B6A
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4495

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

Preview Lab → · Contrast checker → · Palette generator →

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