#8D5DF1#8D5DF1

#8D5DF1 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.212 H 294.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF1
RGBrgb(141, 93, 241)
HSLhsl(259, 84%, 65%)
HSVhsv(259, 61%, 95%)
CMYKcmyk(41.5%, 61.4%, 0%, 5.5%)
CIE-LABlab(51.66, 51.70, -67.80)
CIE-LCHlch(51.66, 85.26, 307.33°)
OKLaboklab(60.54% 0.0865 -0.1934)
OKLCHoklch(60.54% 0.212 294.1)
XYZxyz(30.7718, 19.8415, 85.4105)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF1 #C1F15D
analogous
#5D77F1 #8D5DF1 #D75DF1
triadic
#8D5DF1 #F18D5D #5DF18D
tetradic
#8D5DF1 #F15D77 #C1F15D #5DF1D7
square
#8D5DF1 #F15D77 #C1F15D #5DF1D7
split-complementary
#8D5DF1 #F1D75D #77F15D
monochromatic
#4B11C3 #6525EC #8D5DF1 #B595F6 #DCCEFB

Accessibility & contrast

On white

4.23
#8D5DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8D5DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF1#FFFFFF#000000##000000
##8D5DF11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#727F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5df1;
/* rgb */ color: rgb(141, 93, 241);
/* oklch */ color: oklch(60.5% 0.212 294.1);
Tailwind
colors: {
  custom: {
    50: '#b58df7',
    500: '#8d5df1',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df1;
$custom-light: #b58df7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df1",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 259.459,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.21184,
    "h": 294.1
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#8D5DF1
secondary
#DEEEBC
accent
#E10599
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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