#8A3E95#8A3E95

#8A3E95 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.9% C 0.153 H 322.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A3E95
RGBrgb(138, 62, 149)
HSLhsl(292, 41%, 41%)
HSVhsv(292, 58%, 58%)
CMYKcmyk(7.4%, 58.4%, 0%, 41.6%)
CIE-LABlab(39.61, 45.43, -33.71)
CIE-LCHlch(39.61, 56.57, 323.42°)
OKLaboklab(49.86% 0.1216 -0.0935)
OKLCHoklch(49.86% 0.153 322.4)
XYZxyz(17.6281, 11.0193, 29.6263)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E95 #49953E
analogous
#5F3E95 #8A3E95 #953E75
triadic
#8A3E95 #958A3E #3E958A
tetradic
#8A3E95 #955F3E #49953E #3E7595
square
#8A3E95 #955F3E #49953E #3E7595
split-complementary
#8A3E95 #75953E #3E955F
monochromatic
#3A1A3F #622C6A #8A3E95 #AD57B9 #C282CB

Accessibility & contrast

On white

6.56
#8A3E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A3E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E95
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E95#FFFFFF#000000##FFFFFF
##8A3E951.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5898
Deuteranopia (green-blind)
#496093
Tritanopia (blue-blind)
#8C4A63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a3e95;
/* rgb */ color: rgb(138, 62, 149);
/* oklch */ color: oklch(49.9% 0.153 322.4);
Tailwind
colors: {
  custom: {
    50: '#ae78b4',
    500: '#8a3e95',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e95;
$custom-light: #ae78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e95",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 292.414,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49863,
    "c": 0.15342,
    "h": 322.4
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#8A3E95
secondary
#81B57A
accent
#D15766
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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