#8A3D8F#8A3D8F

#8A3D8F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.4% C 0.149 H 325.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8A3D8F
RGBrgb(138, 61, 143)
HSLhsl(296, 40%, 40%)
HSVhsv(296, 57%, 56%)
CMYKcmyk(3.5%, 57.3%, 0%, 43.9%)
CIE-LABlab(39.11, 44.75, -30.86)
CIE-LCHlch(39.11, 54.36, 325.41°)
OKLaboklab(49.39% 0.1224 -0.0853)
OKLCHoklch(49.39% 0.149 325.1)
XYZxyz(17.1075, 10.7249, 27.1503)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D8F #428F3D
analogous
#613D8F #8A3D8F #8F3D6B
triadic
#8A3D8F #8F8A3D #3D8F8A
tetradic
#8A3D8F #8F613D #428F3D #3D6B8F
square
#8A3D8F #8F613D #428F3D #3D6B8F
split-complementary
#8A3D8F #6B8F3D #3D8F61
monochromatic
#371839 #612B64 #8A3D8F #B053B6 #C47EC8

Accessibility & contrast

On white

6.68
#8A3D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A3D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D8F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D8F#FFFFFF#000000##FFFFFF
##8A3D8F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3d8f;
/* rgb */ color: rgb(138, 61, 143);
/* oklch */ color: oklch(49.4% 0.149 325.1);
Tailwind
colors: {
  custom: {
    50: '#ae77b0',
    500: '#8a3d8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d8f;
$custom-light: #ae77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d8f",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 296.341,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.49394,
    "c": 0.14918,
    "h": 325.1
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#8A3D8F
secondary
#79B276
accent
#D0585F
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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