#8A3DA3#8A3DA3

#8A3DA3 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.169 H 317.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A3DA3
RGBrgb(138, 61, 163)
HSLhsl(285, 46%, 44%)
HSVhsv(285, 63%, 64%)
CMYKcmyk(15.3%, 62.6%, 0%, 36.1%)
CIE-LABlab(40.22, 48.78, -41.17)
CIE-LCHlch(40.22, 63.83, 319.83°)
OKLaboklab(50.56% 0.1235 -0.1152)
OKLCHoklch(50.56% 0.169 317)
XYZxyz(18.7599, 11.3858, 35.8527)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DA3 #56A33D
analogous
#573DA3 #8A3DA3 #A33D89
triadic
#8A3DA3 #A38A3D #3DA38A
tetradic
#8A3DA3 #A3573D #56A33D #3D89A3
square
#8A3DA3 #A3573D #56A33D #3D89A3
split-complementary
#8A3DA3 #89A33D #3DA357
monochromatic
#3F1C4A #642C76 #8A3DA3 #A95BC2 #C088D2

Accessibility & contrast

On white

6.41
#8A3DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A3DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DA3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DA3#FFFFFF#000000##FFFFFF
##8A3DA31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA6
Deuteranopia (green-blind)
#3F61A0
Tritanopia (blue-blind)
#894F6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a3da3;
/* rgb */ color: rgb(138, 61, 163);
/* oklch */ color: oklch(50.6% 0.169 317.0);
Tailwind
colors: {
  custom: {
    50: '#af77bf',
    500: '#8a3da3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3da3;
$custom-light: #af77bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3da3",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 285.294,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.16893,
    "h": 317
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#8A3DA3
secondary
#8EBD7F
accent
#D55373
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A3DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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