#8A3892#8A3892

#8A3892 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.9% C 0.160 H 324.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A3892
RGBrgb(138, 56, 146)
HSLhsl(295, 45%, 40%)
HSVhsv(295, 62%, 57%)
CMYKcmyk(5.5%, 61.6%, 0%, 42.7%)
CIE-LABlab(38.39, 47.73, -33.83)
CIE-LCHlch(38.39, 58.51, 324.68°)
OKLaboklab(48.92% 0.1293 -0.0938)
OKLCHoklch(48.92% 0.16 324)
XYZxyz(17.0833, 10.3079, 28.2784)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3892 #409238
analogous
#5D3892 #8A3892 #92386D
triadic
#8A3892 #928A38 #38928A
tetradic
#8A3892 #925D38 #409238 #386D92
square
#8A3892 #925D38 #409238 #386D92
split-complementary
#8A3892 #6D9238 #38925D
monochromatic
#36163A #602766 #8A3892 #B14DBB #C479CC

Accessibility & contrast

On white

6.86
#8A3892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A3892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3892
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3892#FFFFFF#000000##FFFFFF
##8A38921.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#8D4560
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3892;
/* rgb */ color: rgb(138, 56, 146);
/* oklch */ color: oklch(48.9% 0.160 324.0);
Tailwind
colors: {
  custom: {
    50: '#af74b2',
    500: '#8a3892',
    950: '#000000',
  },
}
SCSS
$custom: #8a3892;
$custom-light: #af74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3892",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 294.667,
    "s": 44.554,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.15977,
    "h": 324
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#8A3892
secondary
#77B571
accent
#D4545F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3892

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

Preview Lab → · Contrast checker → · Palette generator →

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