#8A3C93#8A3C93

#8A3C93 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.5% C 0.155 H 323.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A3C93
RGBrgb(138, 60, 147)
HSLhsl(294, 42%, 41%)
HSVhsv(294, 59%, 58%)
CMYKcmyk(6.1%, 59.2%, 0%, 42.4%)
CIE-LABlab(39.14, 46.02, -33.24)
CIE-LCHlch(39.14, 56.77, 324.15°)
OKLaboklab(49.49% 0.1241 -0.0921)
OKLCHoklch(49.49% 0.155 323.4)
XYZxyz(17.3631, 10.7425, 28.7570)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C93 #45933C
analogous
#5E3C93 #8A3C93 #933C70
triadic
#8A3C93 #938A3C #3C938A
tetradic
#8A3C93 #935E3C #45933C #3C7093
square
#8A3C93 #935E3C #45933C #3C7093
split-complementary
#8A3C93 #70933C #3C935E
monochromatic
#38193C #612A68 #8A3C93 #AE53B9 #C37FCB

Accessibility & contrast

On white

6.67
#8A3C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A3C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C93
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C93#FFFFFF#000000##FFFFFF
##8A3C931.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#495F91
Tritanopia (blue-blind)
#8C4862
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3c93;
/* rgb */ color: rgb(138, 60, 147);
/* oklch */ color: oklch(49.5% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#af76b3',
    500: '#8a3c93',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c93;
$custom-light: #af76b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c93",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 293.793,
    "s": 42.029,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.1546,
    "h": 323.4
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#8A3C93
secondary
#7DB476
accent
#D25663
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3C93

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

Preview Lab → · Contrast checker → · Palette generator →

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