#8D5DE4#8D5DE4

#8D5DE4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.196 H 296.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D5DE4
RGBrgb(141, 93, 228)
HSLhsl(261, 71%, 63%)
HSVhsv(261, 59%, 89%)
CMYKcmyk(38.2%, 59.2%, 0%, 10.6%)
CIE-LABlab(50.80, 48.31, -61.89)
CIE-LCHlch(50.80, 78.51, 307.97°)
OKLaboklab(59.64% 0.0871 -0.176)
OKLCHoklch(59.64% 0.196 296.3)
XYZxyz(28.8988, 19.0923, 75.5464)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DE4 #B4E45D
analogous
#5D70E4 #8D5DE4 #D05DE4
triadic
#8D5DE4 #E48D5D #5DE48D
tetradic
#8D5DE4 #E45D70 #B4E45D #5DE4D0
square
#8D5DE4 #E45D70 #B4E45D #5DE4D0
split-complementary
#8D5DE4 #E4D05D #70E45D
monochromatic
#4F1CAA #6829DB #8D5DE4 #B291ED #D7C6F5

Accessibility & contrast

On white

4.36
#8D5DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8D5DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DE4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DE4#FFFFFF#000000##000000
##8D5DE41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#2177E1
Tritanopia (blue-blind)
#787A98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5de4;
/* rgb */ color: rgb(141, 93, 228);
/* oklch */ color: oklch(59.6% 0.196 296.3);
Tailwind
colors: {
  custom: {
    50: '#b38ded',
    500: '#8d5de4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5de4;
$custom-light: #b38ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5de4",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 261.333,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59635,
    "c": 0.1964,
    "h": 296.3
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#8D5DE4
secondary
#D5E7B6
accent
#D3128F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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