#8A3ABE#8A3ABE

#8A3ABE is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.200 H 308.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A3ABE
RGBrgb(138, 58, 190)
HSLhsl(276, 53%, 49%)
HSVhsv(276, 69%, 75%)
CMYKcmyk(27.4%, 69.5%, 0%, 25.5%)
CIE-LABlab(41.45, 56.01, -55.18)
CIE-LCHlch(41.45, 78.62, 315.43°)
OKLaboklab(52% 0.1254 -0.1563)
OKLCHoklch(52% 0.2 308.7)
XYZxyz(21.2867, 12.1475, 49.9285)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ABE #6EBE3A
analogous
#483ABE #8A3ABE #BE3AB0
triadic
#8A3ABE #BE8A3A #3ABE8A
tetradic
#8A3ABE #BE483A #6EBE3A #3AB0BE
square
#8A3ABE #BE483A #6EBE3A #3AB0BE
split-complementary
#8A3ABE #B0BE3A #3ABE48
monochromatic
#461D60 #682C8F #8A3ABE #A665D0 #C194DE

Accessibility & contrast

On white

6.12
#8A3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ABE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ABE#FFFFFF#000000##FFFFFF
##8A3ABE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1D63BB
Tritanopia (blue-blind)
#825778
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3abe;
/* rgb */ color: rgb(138, 58, 190);
/* oklch */ color: oklch(52.0% 0.200 308.7);
Tailwind
colors: {
  custom: {
    50: '#b177d2',
    500: '#8a3abe',
    950: '#000000',
  },
}
SCSS
$custom: #8a3abe;
$custom-light: #b177d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3abe",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 276.364,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.20036,
    "h": 308.7
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

primary
#8A3ABE
secondary
#A3CA8A
accent
#DD4B84
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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