#8B5DED#8B5DED

#8B5DED is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.207 H 294.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8B5DED
RGBrgb(139, 93, 237)
HSLhsl(259, 80%, 65%)
HSVhsv(259, 61%, 93%)
CMYKcmyk(41.4%, 60.8%, 0%, 7.1%)
CIE-LABlab(51.19, 50.24, -66.33)
CIE-LCHlch(51.19, 83.21, 307.14°)
OKLaboklab(60.06% 0.0841 -0.1891)
OKLCHoklch(60.06% 0.207 294)
XYZxyz(29.8438, 19.4313, 82.2826)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DED #BFED5D
analogous
#5D77ED #8B5DED #D35DED
triadic
#8B5DED #ED8B5D #5DED8B
tetradic
#8B5DED #ED5D77 #BFED5D #5DEDD3
square
#8B5DED #ED5D77 #BFED5D #5DEDD3
split-complementary
#8B5DED #EDD35D #77ED5D
monochromatic
#4A15BB #6426E7 #8B5DED #B294F3 #DACBF9

Accessibility & contrast

On white

4.30
#8B5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8B5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DED
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DED#FFFFFF#000000##000000
##8B5DED1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b5ded;
/* rgb */ color: rgb(139, 93, 237);
/* oklch */ color: oklch(60.1% 0.207 294.0);
Tailwind
colors: {
  custom: {
    50: '#b38df4',
    500: '#8b5ded',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ded;
$custom-light: #b38df4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ded",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 259.167,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.20699,
    "h": 294
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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