#8A3C8F#8A3C8F

#8A3C8F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.3% C 0.151 H 325.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A3C8F
RGBrgb(138, 60, 143)
HSLhsl(296, 41%, 40%)
HSVhsv(296, 58%, 56%)
CMYKcmyk(3.5%, 58%, 0%, 43.9%)
CIE-LABlab(38.93, 45.24, -31.15)
CIE-LCHlch(38.93, 54.93, 325.45°)
OKLaboklab(49.26% 0.1238 -0.0861)
OKLCHoklch(49.26% 0.151 325.2)
XYZxyz(17.0546, 10.6191, 27.1327)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C8F #418F3C
analogous
#613C8F #8A3C8F #8F3C6A
triadic
#8A3C8F #8F8A3C #3C8F8A
tetradic
#8A3C8F #8F613C #418F3C #3C6A8F
square
#8A3C8F #8F613C #418F3C #3C6A8F
split-complementary
#8A3C8F #6A8F3C #3C8F61
monochromatic
#371839 #602A64 #8A3C8F #B052B6 #C47DC8

Accessibility & contrast

On white

6.72
#8A3C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A3C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C8F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C8F#FFFFFF#000000##FFFFFF
##8A3C8F1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#4B5F8D
Tritanopia (blue-blind)
#8D4760
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3c8f;
/* rgb */ color: rgb(138, 60, 143);
/* oklch */ color: oklch(49.3% 0.151 325.2);
Tailwind
colors: {
  custom: {
    50: '#ae76b0',
    500: '#8a3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c8f;
$custom-light: #ae76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c8f",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 296.386,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.15077,
    "h": 325.2
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#8A3C8F
secondary
#78B275
accent
#D1575E
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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