#8A5DAE#8A5DAE

#8A5DAE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.0% C 0.129 H 308.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A5DAE
RGBrgb(138, 93, 174)
HSLhsl(273, 33%, 52%)
HSVhsv(273, 47%, 68%)
CMYKcmyk(20.7%, 46.6%, 0%, 31.8%)
CIE-LABlab(47.35, 34.09, -36.39)
CIE-LCHlch(47.35, 49.86, 313.14°)
OKLaboklab(56.01% 0.0804 -0.1015)
OKLCHoklch(56.01% 0.129 308.4)
XYZxyz(22.0341, 16.2882, 42.0194)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DAE #81AE5D
analogous
#625DAE #8A5DAE #AE5DAA
triadic
#8A5DAE #AE8A5D #5DAE8A
tetradic
#8A5DAE #AE625D #81AE5D #5DAAAE
square
#8A5DAE #AE625D #81AE5D #5DAAAE
split-complementary
#8A5DAE #AAAE5D #5DAE62
monochromatic
#4B3060 #6B4589 #8A5DAE #A786C2 #C5AFD7

Accessibility & contrast

On white

4.93
#8A5DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8A5DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5DAE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DAE#FFFFFF#000000##FFFFFF
##8A5DAE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496EB1
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#856A7D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a5dae;
/* rgb */ color: rgb(138, 93, 174);
/* oklch */ color: oklch(56.0% 0.129 308.4);
Tailwind
colors: {
  custom: {
    50: '#ae8cc6',
    500: '#8a5dae',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dae;
$custom-light: #ae8cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dae",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 273.333,
    "s": 33.333,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.12944,
    "h": 308.4
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#8A5DAE
secondary
#B1C5A2
accent
#C95E8E
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A5DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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