#8A4CAE#8A4CAE

#8A4CAE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.158 H 311.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A4CAE
RGBrgb(138, 76, 174)
HSLhsl(278, 39%, 49%)
HSVhsv(278, 56%, 68%)
CMYKcmyk(20.7%, 56.3%, 0%, 31.8%)
CIE-LABlab(43.70, 43.54, -42.17)
CIE-LCHlch(43.70, 60.61, 315.91°)
OKLaboklab(53.3% 0.1043 -0.1182)
OKLCHoklch(53.3% 0.158 311.4)
XYZxyz(20.7043, 13.6286, 41.5761)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CAE #70AE4C
analogous
#594CAE #8A4CAE #AE4CA1
triadic
#8A4CAE #AE8A4C #4CAE8A
tetradic
#8A4CAE #AE594C #70AE4C #4CA1AE
square
#8A4CAE #AE594C #70AE4C #4CA1AE
split-complementary
#8A4CAE #A1AE4C #4CAE59
monochromatic
#462759 #683983 #8A4CAE #A675C3 #C19FD5

Accessibility & contrast

On white

5.64
#8A4CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A4CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CAE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CAE#FFFFFF#000000##FFFFFF
##8A4CAE1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#865D76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4cae;
/* rgb */ color: rgb(138, 76, 174);
/* oklch */ color: oklch(53.3% 0.158 311.4);
Tailwind
colors: {
  custom: {
    50: '#af81c7',
    500: '#8a4cae',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cae;
$custom-light: #af81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cae",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 277.959,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.15763,
    "h": 311.4
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#8A4CAE
secondary
#A5C294
accent
#CF5984
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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