#8A4191#8A4191

#8A4191 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.1% C 0.145 H 324.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A4191
RGBrgb(138, 65, 145)
HSLhsl(295, 38%, 41%)
HSVhsv(295, 55%, 57%)
CMYKcmyk(4.8%, 55.2%, 0%, 43.1%)
CIE-LABlab(39.96, 43.13, -30.74)
CIE-LCHlch(39.96, 52.96, 324.52°)
OKLaboklab(50.05% 0.1171 -0.0849)
OKLCHoklch(50.05% 0.145 324)
XYZxyz(17.4819, 11.2291, 28.0292)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4191 #489141
analogous
#624191 #8A4191 #914170
triadic
#8A4191 #918A41 #41918A
tetradic
#8A4191 #916241 #489141 #417091
square
#8A4191 #916241 #489141 #417091
split-complementary
#8A4191 #709141 #419162
monochromatic
#3A1B3C #622E67 #8A4191 #AD5AB5 #C284C8

Accessibility & contrast

On white

6.47
#8A4191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A4191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4191
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4191#FFFFFF#000000##FFFFFF
##8A41911.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365994
Deuteranopia (green-blind)
#4D618F
Tritanopia (blue-blind)
#8D4B63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4191;
/* rgb */ color: rgb(138, 65, 145);
/* oklch */ color: oklch(50.1% 0.145 324.0);
Tailwind
colors: {
  custom: {
    50: '#ae79b1',
    500: '#8a4191',
    950: '#000000',
  },
}
SCSS
$custom: #8a4191;
$custom-light: #ae79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4191",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 294.75,
    "s": 38.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.14463,
    "h": 324
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#8A4191
secondary
#80B37B
accent
#CE5A64
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4191

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

Preview Lab → · Contrast checker → · Palette generator →

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