#8A54AE#8A54AE

#8A54AE is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.145 H 310.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A54AE
RGBrgb(138, 84, 174)
HSLhsl(276, 36%, 51%)
HSVhsv(276, 52%, 68%)
CMYKcmyk(20.7%, 51.7%, 0%, 31.8%)
CIE-LABlab(45.36, 39.18, -39.53)
CIE-LCHlch(45.36, 55.66, 314.74°)
OKLaboklab(54.53% 0.0932 -0.1106)
OKLCHoklch(54.53% 0.145 310.1)
XYZxyz(21.2901, 14.8003, 41.7714)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54AE #78AE54
analogous
#5D54AE #8A54AE #AE54A5
triadic
#8A54AE #AE8A54 #54AE8A
tetradic
#8A54AE #AE5D54 #78AE54 #54A5AE
square
#8A54AE #AE5D54 #78AE54 #54A5AE
split-complementary
#8A54AE #A5AE54 #54AE5D
monochromatic
#492C5C #693F86 #8A54AE #A67EC2 #C3A7D5

Accessibility & contrast

On white

5.30
#8A54AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A54AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54AE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54AE#FFFFFF#000000##FFFFFF
##8A54AE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B1
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#866379
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a54ae;
/* rgb */ color: rgb(138, 84, 174);
/* oklch */ color: oklch(54.5% 0.145 310.1);
Tailwind
colors: {
  custom: {
    50: '#ae86c6',
    500: '#8a54ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a54ae;
$custom-light: #ae86c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54ae",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 276,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.14464,
    "h": 310.1
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#8A54AE
secondary
#ABC39B
accent
#CC5C89
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A54AE

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

Preview Lab → · Contrast checker → · Palette generator →

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