#8A5ED0#8A5ED0

#8A5ED0 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.170 H 298.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A5ED0
RGBrgb(138, 94, 208)
HSLhsl(263, 55%, 59%)
HSVhsv(263, 55%, 82%)
CMYKcmyk(33.7%, 54.8%, 0%, 18.4%)
CIE-LABlab(49.45, 41.90, -52.72)
CIE-LCHlch(49.45, 67.34, 308.48°)
OKLaboklab(58.18% 0.0821 -0.1492)
OKLCHoklch(58.18% 0.17 298.8)
XYZxyz(25.8663, 17.9625, 61.7666)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5ED0 #A4D05E
analogous
#5E6BD0 #8A5ED0 #C35ED0
triadic
#8A5ED0 #D08A5E #5ED08A
tetradic
#8A5ED0 #D05E6B #A4D05E #5ED0C3
square
#8A5ED0 #D05E6B #A4D05E #5ED0C3
split-complementary
#8A5ED0 #D0C35E #6BD05E
monochromatic
#4F298B #6936BA #8A5ED0 #AC8DDE #CFBDEC

Accessibility & contrast

On white

4.57
#8A5ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8A5ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5ED0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5ED0#FFFFFF#000000##000000
##8A5ED01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E76D4
Deuteranopia (green-blind)
#3C75CD
Tritanopia (blue-blind)
#7B758E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a5ed0;
/* rgb */ color: rgb(138, 94, 208);
/* oklch */ color: oklch(58.2% 0.170 298.8);
Tailwind
colors: {
  custom: {
    50: '#b08ddf',
    500: '#8a5ed0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ed0;
$custom-light: #b08ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ed0",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 208
  },
  "hsl": {
    "h": 263.158,
    "s": 54.808,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.17024,
    "h": 298.8
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#8A5ED0
secondary
#CADBAF
accent
#DE4AA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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