#8D5EDE#8D5EDE

#8D5EDE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.188 H 297.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8D5EDE
RGBrgb(141, 94, 222)
HSLhsl(262, 66%, 62%)
HSVhsv(262, 58%, 87%)
CMYKcmyk(36.5%, 57.7%, 0%, 12.9%)
CIE-LABlab(50.62, 46.21, -58.79)
CIE-LCHlch(50.62, 74.77, 308.17°)
OKLaboklab(59.38% 0.0861 -0.1669)
OKLCHoklch(59.38% 0.188 297.3)
XYZxyz(28.1687, 18.9416, 71.2651)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EDE #AFDE5E
analogous
#5E6FDE #8D5EDE #CD5EDE
triadic
#8D5EDE #DE8D5E #5EDE8D
tetradic
#8D5EDE #DE5E6F #AFDE5E #5EDECD
square
#8D5EDE #DE5E6F #AFDE5E #5EDECD
split-complementary
#8D5EDE #DECD5E #6FDE5E
monochromatic
#5021A1 #692BD3 #8D5EDE #B191E8 #D5C4F3

Accessibility & contrast

On white

4.39
#8D5EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8D5EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EDE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EDE#FFFFFF#000000##000000
##8D5EDE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1779E2
Deuteranopia (green-blind)
#2E77DB
Tritanopia (blue-blind)
#7A7995
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ede;
/* rgb */ color: rgb(141, 94, 222);
/* oklch */ color: oklch(59.4% 0.188 297.3);
Tailwind
colors: {
  custom: {
    50: '#b38de9',
    500: '#8d5ede',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ede;
$custom-light: #b38de9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ede",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 222
  },
  "hsl": {
    "h": 262.031,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59384,
    "c": 0.18778,
    "h": 297.3
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#8D5EDE
secondary
#D2E4B4
accent
#CE188B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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