#8A4598#8A4598

#8A4598 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.0% C 0.145 H 320.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8A4598
RGBrgb(138, 69, 152)
HSLhsl(290, 38%, 43%)
HSVhsv(290, 55%, 60%)
CMYKcmyk(9.2%, 54.6%, 0%, 40.4%)
CIE-LABlab(41.10, 42.47, -33.18)
CIE-LCHlch(41.10, 53.89, 322.00°)
OKLaboklab(51.01% 0.1122 -0.092)
OKLCHoklch(51.01% 0.145 320.6)
XYZxyz(18.2762, 11.9273, 31.0392)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4598 #539845
analogous
#604598 #8A4598 #98457C
triadic
#8A4598 #988A45 #45988A
tetradic
#8A4598 #986045 #539845 #457C98
square
#8A4598 #986045 #539845 #457C98
split-complementary
#8A4598 #7C9845 #459860
monochromatic
#3E1F44 #64326E #8A4598 #A962B8 #C08CCB

Accessibility & contrast

On white

6.20
#8A4598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8A4598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4598
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4598#FFFFFF#000000##FFFFFF
##8A45981.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#4C6396
Tritanopia (blue-blind)
#8B5168
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4598;
/* rgb */ color: rgb(138, 69, 152);
/* oklch */ color: oklch(51.0% 0.145 320.6);
Tailwind
colors: {
  custom: {
    50: '#ae7cb6',
    500: '#8a4598',
    950: '#000000',
  },
}
SCSS
$custom: #8a4598;
$custom-light: #ae7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4598",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 289.88,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.14511,
    "h": 320.6
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#8A4598
secondary
#8BB682
accent
#CE5A6E
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A4598

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

Preview Lab → · Contrast checker → · Palette generator →

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