#8A4292#8A4292

#8A4292 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.2% C 0.144 H 323.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A4292
RGBrgb(138, 66, 146)
HSLhsl(294, 38%, 42%)
HSVhsv(294, 55%, 57%)
CMYKcmyk(5.5%, 54.8%, 0%, 42.7%)
CIE-LABlab(40.21, 42.81, -30.96)
CIE-LCHlch(40.21, 52.84, 324.13°)
OKLaboklab(50.25% 0.1158 -0.0856)
OKLCHoklch(50.25% 0.144 323.5)
XYZxyz(17.6173, 11.3759, 28.4564)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4292 #4A9242
analogous
#624292 #8A4292 #924272
triadic
#8A4292 #928A42 #42928A
tetradic
#8A4292 #926242 #4A9242 #427292
square
#8A4292 #926242 #4A9242 #427292
split-complementary
#8A4292 #729242 #429262
monochromatic
#3A1C3E #622F68 #8A4292 #AC5CB5 #C286C8

Accessibility & contrast

On white

6.41
#8A4292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A4292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4292
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4292#FFFFFF#000000##FFFFFF
##8A42921.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365995
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#8C4C64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4292;
/* rgb */ color: rgb(138, 66, 146);
/* oklch */ color: oklch(50.2% 0.144 323.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ab2',
    500: '#8a4292',
    950: '#000000',
  },
}
SCSS
$custom: #8a4292;
$custom-light: #ae7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4292",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 294,
    "s": 37.736,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.14397,
    "h": 323.5
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#8A4292
secondary
#82B37D
accent
#CE5A66
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4292

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

Preview Lab → · Contrast checker → · Palette generator →

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