#8A3C95#8A3C95

#8A3C95 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.6% C 0.157 H 322.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8A3C95
RGBrgb(138, 60, 149)
HSLhsl(293, 43%, 41%)
HSVhsv(293, 60%, 58%)
CMYKcmyk(7.4%, 59.7%, 0%, 41.6%)
CIE-LABlab(39.25, 46.41, -34.29)
CIE-LCHlch(39.25, 57.70, 323.54°)
OKLaboklab(49.6% 0.1243 -0.0952)
OKLCHoklch(49.6% 0.157 322.6)
XYZxyz(17.5214, 10.8058, 29.5908)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C95 #47953C
analogous
#5D3C95 #8A3C95 #953C73
triadic
#8A3C95 #958A3C #3C958A
tetradic
#8A3C95 #955D3C #47953C #3C7395
square
#8A3C95 #955D3C #47953C #3C7395
split-complementary
#8A3C95 #73953C #3C955D
monochromatic
#39193E #622A69 #8A3C95 #AE54BA #C280CC

Accessibility & contrast

On white

6.64
#8A3C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A3C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C95
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C95#FFFFFF#000000##FFFFFF
##8A3C951.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#8C4963
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3c95;
/* rgb */ color: rgb(138, 60, 149);
/* oklch */ color: oklch(49.6% 0.157 322.6);
Tailwind
colors: {
  custom: {
    50: '#af76b4',
    500: '#8a3c95',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c95;
$custom-light: #af76b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c95",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 292.584,
    "s": 42.584,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49599,
    "c": 0.15654,
    "h": 322.6
  },
  "luminance": 0.10805
}

Semantic roles & 50–950 ramp

primary
#8A3C95
secondary
#7FB677
accent
#D25565
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3C95

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

Preview Lab → · Contrast checker → · Palette generator →

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