#8A3C91#8A3C91

#8A3C91 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.4% C 0.153 H 324.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A3C91
RGBrgb(138, 60, 145)
HSLhsl(295, 41%, 40%)
HSVhsv(295, 59%, 57%)
CMYKcmyk(4.8%, 58.6%, 0%, 43.1%)
CIE-LABlab(39.04, 45.63, -32.20)
CIE-LCHlch(39.04, 55.84, 324.79°)
OKLaboklab(49.37% 0.124 -0.0891)
OKLCHoklch(49.37% 0.153 324.3)
XYZxyz(17.2075, 10.6803, 27.9377)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C91 #43913C
analogous
#603C91 #8A3C91 #913C6D
triadic
#8A3C91 #918A3C #3C918A
tetradic
#8A3C91 #91603C #43913C #3C6D91
square
#8A3C91 #91603C #43913C #3C6D91
split-complementary
#8A3C91 #6D913C #3C9160
monochromatic
#38183A #612A66 #8A3C91 #AF53B8 #C37ECA

Accessibility & contrast

On white

6.70
#8A3C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A3C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C91
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C91#FFFFFF#000000##FFFFFF
##8A3C911.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5694
Deuteranopia (green-blind)
#4A5F8F
Tritanopia (blue-blind)
#8D4861
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3c91;
/* rgb */ color: rgb(138, 60, 145);
/* oklch */ color: oklch(49.4% 0.153 324.3);
Tailwind
colors: {
  custom: {
    50: '#ae76b1',
    500: '#8a3c91',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c91;
$custom-light: #ae76b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c91",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 295.059,
    "s": 41.463,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.15268,
    "h": 324.3
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#8A3C91
secondary
#7BB375
accent
#D15761
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3C91

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

Preview Lab → · Contrast checker → · Palette generator →

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