#8A5DC0#8A5DC0

#8A5DC0 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.152 H 302.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A5DC0
RGBrgb(138, 93, 192)
HSLhsl(267, 44%, 56%)
HSVhsv(267, 52%, 75%)
CMYKcmyk(28.1%, 51.6%, 0%, 24.7%)
CIE-LABlab(48.31, 38.44, -45.34)
CIE-LCHlch(48.31, 59.44, 310.29°)
OKLaboklab(57.03% 0.0825 -0.1276)
OKLCHoklch(57.03% 0.152 302.9)
XYZxyz(23.9079, 17.0378, 51.8880)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DC0 #93C05D
analogous
#5D61C0 #8A5DC0 #BB5DC0
triadic
#8A5DC0 #C08A5D #5DC08A
tetradic
#8A5DC0 #C05D61 #93C05D #5DC0BB
square
#8A5DC0 #C05D61 #93C05D #5DC0BB
split-complementary
#8A5DC0 #C0BB5D #61C05D
monochromatic
#4E2E75 #6B3FA1 #8A5DC0 #AA89D1 #CAB5E2

Accessibility & contrast

On white

4.76
#8A5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8A5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5DC0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DC0#FFFFFF#000000##FFFFFF
##8A5DC01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C3
Deuteranopia (green-blind)
#4972BE
Tritanopia (blue-blind)
#806F86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a5dc0;
/* rgb */ color: rgb(138, 93, 192);
/* oklch */ color: oklch(57.0% 0.152 302.9);
Tailwind
colors: {
  custom: {
    50: '#af8cd3',
    500: '#8a5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dc0;
$custom-light: #af8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dc0",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 267.273,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.15189,
    "h": 302.9
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#8A5DC0
secondary
#BED1A8
accent
#D4549A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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