#8D5DE1#8D5DE1

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

Color values

HEX#8D5DE1
RGBrgb(141, 93, 225)
HSLhsl(262, 69%, 62%)
HSVhsv(262, 59%, 88%)
CMYKcmyk(37.3%, 58.7%, 0%, 11.8%)
CIE-LABlab(50.60, 47.53, -60.51)
CIE-LCHlch(50.60, 76.95, 308.15°)
OKLaboklab(59.43% 0.0872 -0.172)
OKLCHoklch(59.43% 0.193 296.9)
XYZxyz(28.4860, 18.9272, 73.3721)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DE1 #B1E15D
analogous
#5D6FE1 #8D5DE1 #CF5DE1
triadic
#8D5DE1 #E18D5D #5DE18D
tetradic
#8D5DE1 #E15D6F #B1E15D #5DE1CF
square
#8D5DE1 #E15D6F #B1E15D #5DE1CF
split-complementary
#8D5DE1 #E1CF5D #6FE15D
monochromatic
#4F1FA5 #6929D7 #8D5DE1 #B191EB #D6C4F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5DE1#FFFFFF#000000##000000
##8D5DE11.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)
#0579E5
Deuteranopia (green-blind)
#2777DE
Tritanopia (blue-blind)
#797996
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5de1;
/* rgb */ color: rgb(141, 93, 225);
/* oklch */ color: oklch(59.4% 0.193 296.9);
Tailwind
colors: {
  custom: {
    50: '#b38deb',
    500: '#8d5de1',
    950: '#000000',
  },
}
SCSS
$custom: #8d5de1;
$custom-light: #b38deb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5de1",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 261.818,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.19281,
    "h": 296.9
  },
  "luminance": 0.18928
}

Semantic roles & 50–950 ramp

primary
#8D5DE1
secondary
#D3E5B5
accent
#D1158C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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