#8A3ADB#8A3ADB

#8A3ADB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.2% C 0.230 H 301.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A3ADB
RGBrgb(138, 58, 219)
HSLhsl(270, 69%, 54%)
HSVhsv(270, 74%, 86%)
CMYKcmyk(37%, 73.5%, 0%, 14.1%)
CIE-LABlab(43.57, 62.63, -68.51)
CIE-LCHlch(43.57, 92.82, 312.44°)
OKLaboklab(54.17% 0.1205 -0.1954)
OKLCHoklch(54.17% 0.23 301.7)
XYZxyz(24.7774, 13.5437, 68.3129)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ADB #8BDB3A
analogous
#3A3ADB #8A3ADB #DB3ADB
triadic
#8A3ADB #DB8A3A #3ADB8A
tetradic
#8A3ADB #DB3A3A #8BDB3A #3ADBDB
square
#8A3ADB #DB3A3A #8BDB3A #3ADBDB
split-complementary
#8A3ADB #DBDB3A #3ADB3A
monochromatic
#4D1883 #6B21B6 #8A3ADB #A96EE4 #C7A1EE

Accessibility & contrast

On white

5.66
#8A3ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8A3ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ADB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ADB#FFFFFF#000000##FFFFFF
##8A3ADB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#786388
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a3adb;
/* rgb */ color: rgb(138, 58, 219);
/* oklch */ color: oklch(54.2% 0.230 301.7);
Tailwind
colors: {
  custom: {
    50: '#b378e7',
    500: '#8a3adb',
    950: '#000000',
  },
}
SCSS
$custom: #8a3adb;
$custom-light: #b378e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3adb",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 219
  },
  "hsl": {
    "h": 269.814,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54169,
    "c": 0.22959,
    "h": 301.7
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#8A3ADB
secondary
#B9DB96
accent
#EC3C94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8A3ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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