#8A4AC1#8A4AC1

#8A4AC1 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.182 H 306.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A4AC1
RGBrgb(138, 74, 193)
HSLhsl(272, 49%, 52%)
HSVhsv(272, 62%, 76%)
CMYKcmyk(28.5%, 61.7%, 0%, 24.3%)
CIE-LABlab(44.45, 48.99, -52.09)
CIE-LCHlch(44.45, 71.51, 313.24°)
OKLaboklab(54.22% 0.1069 -0.1473)
OKLCHoklch(54.22% 0.182 306)
XYZxyz(22.5536, 14.1513, 51.9851)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AC1 #81C14A
analogous
#4F4AC1 #8A4AC1 #C14ABC
triadic
#8A4AC1 #C18A4A #4AC18A
tetradic
#8A4AC1 #C14F4A #81C14A #4ABCC1
square
#8A4AC1 #C14F4A #81C14A #4ABCC1
split-complementary
#8A4AC1 #BCC14A #4AC14F
monochromatic
#4B256C #6B3599 #8A4AC1 #A778D1 #C5A5E0

Accessibility & contrast

On white

5.48
#8A4AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8A4AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AC1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AC1#FFFFFF#000000##FFFFFF
##8A4AC11.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0567C5
Deuteranopia (green-blind)
#3169BE
Tritanopia (blue-blind)
#81627F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4ac1;
/* rgb */ color: rgb(138, 74, 193);
/* oklch */ color: oklch(54.2% 0.182 306.0);
Tailwind
colors: {
  custom: {
    50: '#b080d4',
    500: '#8a4ac1',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ac1;
$custom-light: #b080d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ac1",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 272.269,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.18201,
    "h": 306
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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