#8A56AE#8A56AE

#8A56AE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.141 H 309.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8A56AE
RGBrgb(138, 86, 174)
HSLhsl(275, 35%, 51%)
HSVhsv(275, 51%, 68%)
CMYKcmyk(20.7%, 50.6%, 0%, 31.8%)
CIE-LABlab(45.79, 38.06, -38.85)
CIE-LCHlch(45.79, 54.39, 314.41°)
OKLaboklab(54.85% 0.0904 -0.1086)
OKLCHoklch(54.85% 0.141 309.8)
XYZxyz(21.4476, 15.1152, 41.8239)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A56AE #7AAE56
analogous
#5E56AE #8A56AE #AE56A6
triadic
#8A56AE #AE8A56 #56AE8A
tetradic
#8A56AE #AE5E56 #7AAE56 #56A6AE
square
#8A56AE #AE5E56 #7AAE56 #56A6AE
split-complementary
#8A56AE #A6AE56 #56AE5E
monochromatic
#492D5D #6A4086 #8A56AE #A77FC2 #C3A9D6

Accessibility & contrast

On white

5.22
#8A56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8A56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A56AE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A56AE#FFFFFF#000000##FFFFFF
##8A56AE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB1
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#85657A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a56ae;
/* rgb */ color: rgb(138, 86, 174);
/* oklch */ color: oklch(54.8% 0.141 309.8);
Tailwind
colors: {
  custom: {
    50: '#ae87c6',
    500: '#8a56ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a56ae;
$custom-light: #ae87c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a56ae",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 275.455,
    "s": 35.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.14131,
    "h": 309.8
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#8A56AE
secondary
#ACC39C
accent
#CB5D8A
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8A56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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