#8A4FB0#8A4FB0

#8A4FB0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.155 H 310.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A4FB0
RGBrgb(138, 79, 176)
HSLhsl(276, 38%, 50%)
HSVhsv(276, 55%, 69%)
CMYKcmyk(21.6%, 55.1%, 0%, 31%)
CIE-LABlab(44.42, 42.38, -42.20)
CIE-LCHlch(44.42, 59.81, 315.12°)
OKLaboklab(53.87% 0.1003 -0.1183)
OKLCHoklch(53.87% 0.155 310.3)
XYZxyz(21.1122, 14.1302, 42.6811)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FB0 #75B04F
analogous
#5A4FB0 #8A4FB0 #B04FA5
triadic
#8A4FB0 #B08A4F #4FB08A
tetradic
#8A4FB0 #B05A4F #75B04F #4FA5B0
square
#8A4FB0 #B05A4F #75B04F #4FA5B0
split-complementary
#8A4FB0 #A5B04F #4FB05A
monochromatic
#48295C #693C86 #8A4FB0 #A679C3 #C2A3D6

Accessibility & contrast

On white

5.49
#8A4FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4FB0
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FB0#FFFFFF#000000##FFFFFF
##8A4FB01.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B3
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#856078
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4fb0;
/* rgb */ color: rgb(138, 79, 176);
/* oklch */ color: oklch(53.9% 0.155 310.3);
Tailwind
colors: {
  custom: {
    50: '#af83c8',
    500: '#8a4fb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fb0;
$custom-light: #af83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fb0",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 276.495,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.15512,
    "h": 310.3
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#8A4FB0
secondary
#A9C398
accent
#CE5A87
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A4FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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