#8A4E92#8A4E92

#8A4E92 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.1% C 0.123 H 322.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A4E92
RGBrgb(138, 78, 146)
HSLhsl(293, 30%, 44%)
HSVhsv(293, 47%, 57%)
CMYKcmyk(5.5%, 46.6%, 0%, 42.7%)
CIE-LABlab(42.65, 36.39, -27.13)
CIE-LCHlch(42.65, 45.39, 323.29°)
OKLaboklab(52.06% 0.0981 -0.0746)
OKLCHoklch(52.06% 0.123 322.7)
XYZxyz(18.3934, 12.9281, 28.7151)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E92 #56924E
analogous
#684E92 #8A4E92 #924E78
triadic
#8A4E92 #928A4E #4E928A
tetradic
#8A4E92 #92684E #56924E #4E7892
square
#8A4E92 #92684E #56924E #4E7892
split-complementary
#8A4E92 #78924E #4E9268
monochromatic
#3F2342 #64396A #8A4E92 #A96CB1 #C094C6

Accessibility & contrast

On white

5.86
#8A4E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A4E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E92
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E92#FFFFFF#000000##FFFFFF
##8A4E921.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456094
Deuteranopia (green-blind)
#566790
Tritanopia (blue-blind)
#8C5669
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a4e92;
/* rgb */ color: rgb(138, 78, 146);
/* oklch */ color: oklch(52.1% 0.123 322.7);
Tailwind
colors: {
  custom: {
    50: '#ae81b2',
    500: '#8a4e92',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e92;
$custom-light: #ae81b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e92",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 292.941,
    "s": 30.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.12327,
    "h": 322.7
  },
  "luminance": 0.12927
}

Semantic roles & 50–950 ramp

primary
#8A4E92
secondary
#8EB389
accent
#C7616D
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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