#8A3ADD#8A3ADD

#8A3ADD is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.232 H 301.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A3ADD
RGBrgb(138, 58, 221)
HSLhsl(269, 71%, 55%)
HSVhsv(269, 74%, 87%)
CMYKcmyk(37.6%, 73.8%, 0%, 13.3%)
CIE-LABlab(43.73, 63.10, -69.40)
CIE-LCHlch(43.73, 93.79, 312.28°)
OKLaboklab(54.33% 0.1201 -0.1981)
OKLCHoklch(54.33% 0.232 301.2)
XYZxyz(25.0422, 13.6497, 69.7079)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ADD #8DDD3A
analogous
#3A3BDD #8A3ADD #DC3ADD
triadic
#8A3ADD #DD8A3A #3ADD8A
tetradic
#8A3ADD #DD3A3B #8DDD3A #3ADDDC
square
#8A3ADD #DD3A3B #8DDD3A #3ADDDC
split-complementary
#8A3ADD #DDDC3A #3BDD3A
monochromatic
#4D1786 #6B20BA #8A3ADD #A96EE6 #C8A2EF

Accessibility & contrast

On white

5.63
#8A3ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A3ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ADD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ADD#FFFFFF#000000##FFFFFF
##8A3ADD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#786489
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a3add;
/* rgb */ color: rgb(138, 58, 221);
/* oklch */ color: oklch(54.3% 0.232 301.2);
Tailwind
colors: {
  custom: {
    50: '#b378e9',
    500: '#8a3add',
    950: '#000000',
  },
}
SCSS
$custom: #8a3add;
$custom-light: #b378e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3add",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 221
  },
  "hsl": {
    "h": 269.448,
    "s": 70.563,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54326,
    "c": 0.2316,
    "h": 301.2
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#8A3ADD
secondary
#BADC97
accent
#ED3A96
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8A3ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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