#8A4AD0#8A4AD0

#8A4AD0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.199 H 302.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A4AD0
RGBrgb(138, 74, 208)
HSLhsl(269, 59%, 55%)
HSVhsv(269, 64%, 82%)
CMYKcmyk(33.7%, 64.4%, 0%, 18.4%)
CIE-LABlab(45.43, 52.59, -59.18)
CIE-LCHlch(45.43, 79.17, 311.63°)
OKLaboklab(55.25% 0.106 -0.1681)
OKLCHoklch(55.25% 0.199 302.2)
XYZxyz(24.3125, 14.8548, 61.2487)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AD0 #90D04A
analogous
#4A4DD0 #8A4AD0 #CD4AD0
triadic
#8A4AD0 #D08A4A #4AD08A
tetradic
#8A4AD0 #D04A4D #90D04A #4AD0CD
square
#8A4AD0 #D04A4D #90D04A #4AD0CD
split-complementary
#8A4AD0 #D0CD4A #4DD04A
monochromatic
#4E217F #6B2EAF #8A4AD0 #A97BDD #C9ABE9

Accessibility & contrast

On white

5.29
#8A4AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8A4AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AD0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AD0#FFFFFF#000000##FFFFFF
##8A4AD01.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#176BCD
Tritanopia (blue-blind)
#7C6786
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4ad0;
/* rgb */ color: rgb(138, 74, 208);
/* oklch */ color: oklch(55.2% 0.199 302.2);
Tailwind
colors: {
  custom: {
    50: '#b180df',
    500: '#8a4ad0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ad0;
$custom-light: #b180df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ad0",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 208
  },
  "hsl": {
    "h": 268.657,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.19873,
    "h": 302.2
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#8A4AD0
secondary
#BCD79F
accent
#E24697
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A4AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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