#8D5DED#8D5DED

#8D5DED is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.207 H 294.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D5DED
RGBrgb(141, 93, 237)
HSLhsl(260, 80%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.5%, 60.8%, 0%, 7.1%)
CIE-LABlab(51.39, 50.65, -66.00)
CIE-LCHlch(51.39, 83.19, 307.51°)
OKLaboklab(60.26% 0.0867 -0.1881)
OKLCHoklch(60.26% 0.207 294.8)
XYZxyz(30.1809, 19.6051, 82.2984)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DED #BDED5D
analogous
#5D75ED #8D5DED #D55DED
triadic
#8D5DED #ED8D5D #5DED8D
tetradic
#8D5DED #ED5D75 #BDED5D #5DEDD5
square
#8D5DED #ED5D75 #BDED5D #5DEDD5
split-complementary
#8D5DED #EDD55D #75ED5D
monochromatic
#4C15BB #6626E7 #8D5DED #B494F3 #DBCBF9

Accessibility & contrast

On white

4.27
#8D5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8D5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DED
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DED#FFFFFF#000000##000000
##8D5DED1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#747D9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5ded;
/* rgb */ color: rgb(141, 93, 237);
/* oklch */ color: oklch(60.3% 0.207 294.8);
Tailwind
colors: {
  custom: {
    50: '#b48df4',
    500: '#8d5ded',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ded;
$custom-light: #b48df4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ded",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 260,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.20711,
    "h": 294.8
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#8D5DED
secondary
#DBECBA
accent
#DC0996
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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