#8D5FD9#8D5FD9

#8D5FD9 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.180 H 298.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D5FD9
RGBrgb(141, 95, 217)
HSLhsl(263, 62%, 61%)
HSVhsv(263, 56%, 85%)
CMYKcmyk(35%, 56.2%, 0%, 14.9%)
CIE-LABlab(50.52, 44.37, -56.11)
CIE-LCHlch(50.52, 71.54, 308.34°)
OKLaboklab(59.21% 0.0849 -0.159)
OKLCHoklch(59.21% 0.18 298.1)
XYZxyz(27.5980, 18.8566, 67.8179)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FD9 #ABD95F
analogous
#5F6ED9 #8D5FD9 #CA5FD9
triadic
#8D5FD9 #D98D5F #5FD98D
tetradic
#8D5FD9 #D95F6E #ABD95F #5FD9CA
square
#8D5FD9 #D95F6E #ABD95F #5FD9CA
split-complementary
#8D5FD9 #D9CA5F #6ED95F
monochromatic
#502499 #6A30CB #8D5FD9 #B090E5 #D3C2F0

Accessibility & contrast

On white

4.40
#8D5FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8D5FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FD9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FD9#FFFFFF#000000##000000
##8D5FD91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DD
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#7C7893
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5fd9;
/* rgb */ color: rgb(141, 95, 217);
/* oklch */ color: oklch(59.2% 0.180 298.1);
Tailwind
colors: {
  custom: {
    50: '#b28ee5',
    500: '#8d5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fd9;
$custom-light: #b28ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fd9",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 262.623,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59211,
    "c": 0.18026,
    "h": 298.1
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#8D5FD9
secondary
#D0E1B3
accent
#C91C88
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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