#8A3DA9#8A3DA9

#8A3DA9 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.9% C 0.175 H 314.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A3DA9
RGBrgb(138, 61, 169)
HSLhsl(283, 47%, 45%)
HSVhsv(283, 64%, 66%)
CMYKcmyk(18.3%, 63.9%, 0%, 33.7%)
CIE-LABlab(40.58, 50.04, -44.18)
CIE-LCHlch(40.58, 66.75, 318.56°)
OKLaboklab(50.94% 0.1235 -0.124)
OKLCHoklch(50.94% 0.175 314.9)
XYZxyz(19.3102, 11.6060, 38.7514)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DA9 #5CA93D
analogous
#543DA9 #8A3DA9 #A93D92
triadic
#8A3DA9 #A98A3D #3DA98A
tetradic
#8A3DA9 #A9543D #5CA93D #3D92A9
square
#8A3DA9 #A9543D #5CA93D #3D92A9
split-complementary
#8A3DA9 #92A93D #3DA954
monochromatic
#411D4F #652D7C #8A3DA9 #A75EC5 #C08BD5

Accessibility & contrast

On white

6.32
#8A3DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A3DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DA9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DA9#FFFFFF#000000##FFFFFF
##8A3DA91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135BAC
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#88516D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a3da9;
/* rgb */ color: rgb(138, 61, 169);
/* oklch */ color: oklch(50.9% 0.175 314.9);
Tailwind
colors: {
  custom: {
    50: '#af77c3',
    500: '#8a3da9',
    950: '#000000',
  },
}
SCSS
$custom: #8a3da9;
$custom-light: #af77c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3da9",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 169
  },
  "hsl": {
    "h": 282.778,
    "s": 46.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.17502,
    "h": 314.9
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#8A3DA9
secondary
#94C082
accent
#D75177
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8A3DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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