#8A4ABD#8A4ABD

#8A4ABD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.178 H 307.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A4ABD
RGBrgb(138, 74, 189)
HSLhsl(273, 47%, 52%)
HSVhsv(273, 61%, 74%)
CMYKcmyk(27%, 60.8%, 0%, 25.9%)
CIE-LABlab(44.20, 48.05, -50.17)
CIE-LCHlch(44.20, 69.47, 313.76°)
OKLaboklab(53.96% 0.1071 -0.1416)
OKLCHoklch(53.96% 0.178 307.1)
XYZxyz(22.1134, 13.9752, 49.6668)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4ABD #7DBD4A
analogous
#514ABD #8A4ABD #BD4AB7
triadic
#8A4ABD #BD8A4A #4ABD8A
tetradic
#8A4ABD #BD514A #7DBD4A #4AB7BD
square
#8A4ABD #BD514A #7DBD4A #4AB7BD
split-complementary
#8A4ABD #B7BD4A #4ABD51
monochromatic
#4A2667 #6A3694 #8A4ABD #A777CD #C4A4DE

Accessibility & contrast

On white

5.53
#8A4ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8A4ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4ABD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4ABD#FFFFFF#000000##FFFFFF
##8A4ABD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#82617C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4abd;
/* rgb */ color: rgb(138, 74, 189);
/* oklch */ color: oklch(54.0% 0.178 307.1);
Tailwind
colors: {
  custom: {
    50: '#b080d1',
    500: '#8a4abd',
    950: '#000000',
  },
}
SCSS
$custom: #8a4abd;
$custom-light: #b080d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4abd",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 273.391,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.17754,
    "h": 307.1
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#8A4ABD
secondary
#AFCB98
accent
#D6528C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A4ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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