#8D5DF4#8D5DF4

#8D5DF4 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.215 H 293.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF4
RGBrgb(141, 93, 244)
HSLhsl(259, 87%, 66%)
HSVhsv(259, 62%, 96%)
CMYKcmyk(42.2%, 61.9%, 0%, 4.3%)
CIE-LABlab(51.86, 52.49, -69.14)
CIE-LCHlch(51.86, 86.81, 307.20°)
OKLaboklab(60.75% 0.0863 -0.1973)
OKLCHoklch(60.75% 0.215 293.6)
XYZxyz(31.2236, 20.0222, 87.7900)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF4 #C4F45D
analogous
#5D78F4 #8D5DF4 #D85DF4
triadic
#8D5DF4 #F48D5D #5DF48D
tetradic
#8D5DF4 #F45D78 #C4F45D #5DF4D8
square
#8D5DF4 #F45D78 #C4F45D #5DF4D8
split-complementary
#8D5DF4 #F4D85D #78F45D
monochromatic
#490EC9 #6524F0 #8D5DF4 #B596F8 #DED0FC

Accessibility & contrast

On white

4.20
#8D5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8D5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF4#FFFFFF#000000##000000
##8D5DF41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#7180A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5df4;
/* rgb */ color: rgb(141, 93, 244);
/* oklch */ color: oklch(60.8% 0.215 293.6);
Tailwind
colors: {
  custom: {
    50: '#b58df9',
    500: '#8d5df4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df4;
$custom-light: #b58df9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df4",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 259.073,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.21537,
    "h": 293.6
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#8D5DF4
secondary
#DFEFBE
accent
#E4029C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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