#8A3A93#8A3A93

#8A3A93 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.2% C 0.158 H 323.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A3A93
RGBrgb(138, 58, 147)
HSLhsl(294, 43%, 40%)
HSVhsv(294, 61%, 58%)
CMYKcmyk(6.1%, 60.5%, 0%, 42.4%)
CIE-LABlab(38.79, 46.98, -33.80)
CIE-LCHlch(38.79, 57.88, 324.27°)
OKLaboklab(49.23% 0.1268 -0.0937)
OKLCHoklch(49.23% 0.158 323.5)
XYZxyz(17.2603, 10.5369, 28.7228)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A93 #43933A
analogous
#5E3A93 #8A3A93 #933A6F
triadic
#8A3A93 #938A3A #3A938A
tetradic
#8A3A93 #935E3A #43933A #3A6F93
square
#8A3A93 #935E3A #43933A #3A6F93
split-complementary
#8A3A93 #6F933A #3A935E
monochromatic
#38173B #612967 #8A3A93 #AF50BA #C37CCB

Accessibility & contrast

On white

6.76
#8A3A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A3A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A93
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A93#FFFFFF#000000##FFFFFF
##8A3A931.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#475F91
Tritanopia (blue-blind)
#8C4761
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3a93;
/* rgb */ color: rgb(138, 58, 147);
/* oklch */ color: oklch(49.2% 0.158 323.5);
Tailwind
colors: {
  custom: {
    50: '#af75b3',
    500: '#8a3a93',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a93;
$custom-light: #af75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a93",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 293.933,
    "s": 43.415,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.15769,
    "h": 323.5
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#8A3A93
secondary
#7BB574
accent
#D35561
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3A93

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

Preview Lab → · Contrast checker → · Palette generator →

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