#8A4AD4#8A4AD4

#8A4AD4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.203 H 301.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A4AD4
RGBrgb(138, 74, 212)
HSLhsl(268, 62%, 56%)
HSVhsv(268, 65%, 83%)
CMYKcmyk(34.9%, 65.1%, 0%, 16.9%)
CIE-LABlab(45.71, 53.56, -61.03)
CIE-LCHlch(45.71, 81.20, 311.27°)
OKLaboklab(55.53% 0.1057 -0.1735)
OKLCHoklch(55.53% 0.203 301.3)
XYZxyz(24.8108, 15.0542, 63.8732)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AD4 #94D44A
analogous
#4A4FD4 #8A4AD4 #CF4AD4
triadic
#8A4AD4 #D48A4A #4AD48A
tetradic
#8A4AD4 #D44A4F #94D44A #4AD4CF
square
#8A4AD4 #D44A4F #94D44A #4AD4CF
split-complementary
#8A4AD4 #D4CF4A #4FD44A
monochromatic
#4E1F84 #6B2BB6 #8A4AD4 #AA7BE0 #CAADEB

Accessibility & contrast

On white

5.24
#8A4AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8A4AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AD4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AD4#FFFFFF#000000##FFFFFF
##8A4AD41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#076BD1
Tritanopia (blue-blind)
#7A6989
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4ad4;
/* rgb */ color: rgb(138, 74, 212);
/* oklch */ color: oklch(55.5% 0.203 301.3);
Tailwind
colors: {
  custom: {
    50: '#b180e2',
    500: '#8a4ad4',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ad4;
$custom-light: #b180e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ad4",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 267.826,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.20317,
    "h": 301.3
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#8A4AD4
secondary
#BFD9A0
accent
#E5439A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A4AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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