#8A5DED#8A5DED

#8A5DED is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.207 H 293.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A5DED
RGBrgb(138, 93, 237)
HSLhsl(259, 80%, 65%)
HSVhsv(259, 61%, 93%)
CMYKcmyk(41.8%, 60.8%, 0%, 7.1%)
CIE-LABlab(51.09, 50.03, -66.49)
CIE-LCHlch(51.09, 83.21, 306.96°)
OKLaboklab(59.97% 0.0828 -0.1896)
OKLCHoklch(59.97% 0.207 293.6)
XYZxyz(29.6775, 19.3456, 82.2748)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DED #C0ED5D
analogous
#5D78ED #8A5DED #D25DED
triadic
#8A5DED #ED8A5D #5DED8A
tetradic
#8A5DED #ED5D78 #C0ED5D #5DEDD2
square
#8A5DED #ED5D78 #C0ED5D #5DEDD2
split-complementary
#8A5DED #EDD25D #78ED5D
monochromatic
#4915BB #6226E7 #8A5DED #B294F3 #DACBF9

Accessibility & contrast

On white

4.31
#8A5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8A5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5DED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DED#FFFFFF#000000##000000
##8A5DED1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#6F7E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a5ded;
/* rgb */ color: rgb(138, 93, 237);
/* oklch */ color: oklch(60.0% 0.207 293.6);
Tailwind
colors: {
  custom: {
    50: '#b28df4',
    500: '#8a5ded',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ded;
$custom-light: #b28df4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ded",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 258.75,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.20694,
    "h": 293.6
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#8A5DED
secondary
#DCECBA
accent
#DC099A
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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