#8A4ABC#8A4ABC

#8A4ABC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.176 H 307.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A4ABC
RGBrgb(138, 74, 188)
HSLhsl(274, 46%, 51%)
HSVhsv(274, 61%, 74%)
CMYKcmyk(26.6%, 60.6%, 0%, 26.3%)
CIE-LABlab(44.14, 47.82, -49.68)
CIE-LCHlch(44.14, 68.96, 313.90°)
OKLaboklab(53.89% 0.1071 -0.1402)
OKLCHoklch(53.89% 0.176 307.4)
XYZxyz(22.0052, 13.9319, 49.0971)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4ABC #7CBC4A
analogous
#514ABC #8A4ABC #BC4AB5
triadic
#8A4ABC #BC8A4A #4ABC8A
tetradic
#8A4ABC #BC514A #7CBC4A #4AB5BC
square
#8A4ABC #BC514A #7CBC4A #4AB5BC
split-complementary
#8A4ABC #B5BC4A #4ABC51
monochromatic
#4A2666 #6A3693 #8A4ABC #A777CD #C4A3DD

Accessibility & contrast

On white

5.55
#8A4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8A4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4ABC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4ABC#FFFFFF#000000##FFFFFF
##8A4ABC1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#82607C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4abc;
/* rgb */ color: rgb(138, 74, 188);
/* oklch */ color: oklch(53.9% 0.176 307.4);
Tailwind
colors: {
  custom: {
    50: '#b080d1',
    500: '#8a4abc',
    950: '#000000',
  },
}
SCSS
$custom: #8a4abc;
$custom-light: #b080d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4abc",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 273.684,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53891,
    "c": 0.17642,
    "h": 307.4
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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