#8D5DF9#8D5DF9

#8D5DF9 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.221 H 292.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF9
RGBrgb(141, 93, 249)
HSLhsl(258, 93%, 67%)
HSVhsv(258, 63%, 98%)
CMYKcmyk(43.4%, 62.7%, 0%, 2.4%)
CIE-LABlab(52.21, 53.81, -71.37)
CIE-LCHlch(52.21, 89.38, 307.01°)
OKLaboklab(61.11% 0.0859 -0.2039)
OKLCHoklch(61.11% 0.221 292.8)
XYZxyz(31.9931, 20.3300, 91.8426)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF9 #C9F95D
analogous
#5D7BF9 #8D5DF9 #DB5DF9
triadic
#8D5DF9 #F98D5D #5DF98D
tetradic
#8D5DF9 #F95D7B #C9F95D #5DF9DB
square
#8D5DF9 #F95D7B #C9F95D #5DF9DB
split-complementary
#8D5DF9 #F9DB5D #7BF95D
monochromatic
#4708D4 #6322F7 #8D5DF9 #B798FB #E0D3FD

Accessibility & contrast

On white

4.15
#8D5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8D5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF9#FFFFFF#000000##000000
##8D5DF91.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFE
Deuteranopia (green-blind)
#007AF6
Tritanopia (blue-blind)
#6E81A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5df9;
/* rgb */ color: rgb(141, 93, 249);
/* oklch */ color: oklch(61.1% 0.221 292.8);
Tailwind
colors: {
  custom: {
    50: '#b58dfc',
    500: '#8d5df9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df9;
$custom-light: #b58dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df9",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 258.462,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.22122,
    "h": 292.8
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#8D5DF9
secondary
#E2F2C0
accent
#E6009F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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