#8A4AC0#8A4AC0

#8A4AC0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.181 H 306.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A4AC0
RGBrgb(138, 74, 192)
HSLhsl(273, 48%, 52%)
HSVhsv(273, 61%, 75%)
CMYKcmyk(28.1%, 61.5%, 0%, 24.7%)
CIE-LABlab(44.39, 48.76, -51.61)
CIE-LCHlch(44.39, 71.00, 313.37°)
OKLaboklab(54.15% 0.107 -0.1459)
OKLCHoklch(54.15% 0.181 306.3)
XYZxyz(22.4424, 14.1068, 51.3995)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AC0 #80C04A
analogous
#4F4AC0 #8A4AC0 #C04ABB
triadic
#8A4AC0 #C08A4A #4AC08A
tetradic
#8A4AC0 #C04F4A #80C04A #4ABBC0
square
#8A4AC0 #C04F4A #80C04A #4ABBC0
split-complementary
#8A4AC0 #BBC04A #4AC04F
monochromatic
#4B256B #6B3598 #8A4AC0 #A777D0 #C5A5E0

Accessibility & contrast

On white

5.50
#8A4AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8A4AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AC0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AC0#FFFFFF#000000##FFFFFF
##8A4AC01.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0967C4
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#81627E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4ac0;
/* rgb */ color: rgb(138, 74, 192);
/* oklch */ color: oklch(54.2% 0.181 306.3);
Tailwind
colors: {
  custom: {
    50: '#b080d4',
    500: '#8a4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ac0;
$custom-light: #b080d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ac0",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 272.542,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.18089,
    "h": 306.3
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#8A4AC0
secondary
#B1CD99
accent
#D8508E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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