#8A4E90#8A4E90

#8A4E90 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.0% C 0.121 H 323.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A4E90
RGBrgb(138, 78, 144)
HSLhsl(295, 30%, 44%)
HSVhsv(295, 46%, 56%)
CMYKcmyk(4.2%, 45.8%, 0%, 43.5%)
CIE-LABlab(42.56, 35.98, -26.07)
CIE-LCHlch(42.56, 44.43, 324.07°)
OKLaboklab(51.96% 0.0977 -0.0716)
OKLCHoklch(51.96% 0.121 323.8)
XYZxyz(18.2392, 12.8665, 27.9029)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E90 #54904E
analogous
#694E90 #8A4E90 #904E75
triadic
#8A4E90 #908A4E #4E908A
tetradic
#8A4E90 #90694E #54904E #4E7590
square
#8A4E90 #90694E #54904E #4E7590
split-complementary
#8A4E90 #75904E #4E9069
monochromatic
#3E2341 #643868 #8A4E90 #A96CAF #C094C5

Accessibility & contrast

On white

5.88
#8A4E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A4E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E90
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E90#FFFFFF#000000##FFFFFF
##8A4E901.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466092
Deuteranopia (green-blind)
#57678E
Tritanopia (blue-blind)
#8C5668
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4e90;
/* rgb */ color: rgb(138, 78, 144);
/* oklch */ color: oklch(52.0% 0.121 323.8);
Tailwind
colors: {
  custom: {
    50: '#ae81b0',
    500: '#8a4e90',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e90;
$custom-light: #ae81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e90",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 294.545,
    "s": 29.73,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51958,
    "c": 0.12115,
    "h": 323.8
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#8A4E90
secondary
#8CB188
accent
#C6626B
background
#FAF8FA
surface
#F4EFF5
border
#CECACF
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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