#8A4592#8A4592

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

Color values

HEX#8A4592
RGBrgb(138, 69, 146)
HSLhsl(294, 36%, 42%)
HSVhsv(294, 53%, 57%)
CMYKcmyk(5.5%, 52.7%, 0%, 42.7%)
CIE-LABlab(40.79, 41.25, -30.04)
CIE-LCHlch(40.79, 51.03, 323.94°)
OKLaboklab(50.68% 0.1115 -0.083)
OKLCHoklch(50.68% 0.139 323.3)
XYZxyz(17.7972, 11.7357, 28.5163)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4592 #4D9245
analogous
#644592 #8A4592 #924574
triadic
#8A4592 #928A45 #45928A
tetradic
#8A4592 #926445 #4D9245 #457492
square
#8A4592 #926445 #4D9245 #457492
split-complementary
#8A4592 #749245 #459264
monochromatic
#3B1E3F #633168 #8A4592 #AB60B4 #C18AC8

Accessibility & contrast

On white

6.27
#8A4592 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A4592 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4592
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4592#FFFFFF#000000##FFFFFF
##8A45921.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#4F6390
Tritanopia (blue-blind)
#8C4F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4592;
/* rgb */ color: rgb(138, 69, 146);
/* oklch */ color: oklch(50.7% 0.139 323.3);
Tailwind
colors: {
  custom: {
    50: '#ae7cb2',
    500: '#8a4592',
    950: '#000000',
  },
}
SCSS
$custom: #8a4592;
$custom-light: #ae7cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4592",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 293.766,
    "s": 35.814,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.13895,
    "h": 323.3
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#8A4592
secondary
#85B380
accent
#CC5C68
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4592

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

Preview Lab → · Contrast checker → · Palette generator →

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