#8D5DF6#8D5DF6

#8D5DF6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.218 H 293.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D5DF6
RGBrgb(141, 93, 246)
HSLhsl(259, 89%, 66%)
HSVhsv(259, 62%, 96%)
CMYKcmyk(42.7%, 62.2%, 0%, 3.5%)
CIE-LABlab(52.00, 53.02, -70.04)
CIE-LCHlch(52.00, 87.84, 307.13°)
OKLaboklab(60.9% 0.0861 -0.2)
OKLCHoklch(60.9% 0.218 293.3)
XYZxyz(31.5289, 20.1444, 89.3980)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DF6 #C6F65D
analogous
#5D7AF6 #8D5DF6 #DA5DF6
triadic
#8D5DF6 #F68D5D #5DF68D
tetradic
#8D5DF6 #F65D7A #C6F65D #5DF6DA
square
#8D5DF6 #F65D7A #C6F65D #5DF6DA
split-complementary
#8D5DF6 #F6DA5D #7AF65D
monochromatic
#480BCD #6423F3 #8D5DF6 #B697F9 #DFD1FC

Accessibility & contrast

On white

4.18
#8D5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8D5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DF6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DF6#FFFFFF#000000##000000
##8D5DF61.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#7080A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5df6;
/* rgb */ color: rgb(141, 93, 246);
/* oklch */ color: oklch(60.9% 0.218 293.3);
Tailwind
colors: {
  custom: {
    50: '#b58dfa',
    500: '#8d5df6',
    950: '#000000',
  },
}
SCSS
$custom: #8d5df6;
$custom-light: #b58dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5df6",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 258.824,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60895,
    "c": 0.21771,
    "h": 293.3
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#8D5DF6
secondary
#E1F0BF
accent
#E6009D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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