#8D5DEF#8D5DEF

#8D5DEF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.209 H 294.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D5DEF
RGBrgb(141, 93, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 61%, 94%)
CMYKcmyk(41%, 61.1%, 0%, 6.3%)
CIE-LABlab(51.52, 51.17, -66.90)
CIE-LCHlch(51.52, 84.23, 307.41°)
OKLaboklab(60.4% 0.0866 -0.1907)
OKLCHoklch(60.4% 0.209 294.4)
XYZxyz(30.4747, 19.7227, 83.8458)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DEF #BFEF5D
analogous
#5D76EF #8D5DEF #D65DEF
triadic
#8D5DEF #EF8D5D #5DEF8D
tetradic
#8D5DEF #EF5D76 #BFEF5D #5DEFD6
square
#8D5DEF #EF5D76 #BFEF5D #5DEFD6
split-complementary
#8D5DEF #EFD65D #76EF5D
monochromatic
#4B13BF #6625E9 #8D5DEF #B495F5 #DBCCFA

Accessibility & contrast

On white

4.25
#8D5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8D5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DEF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DEF#FFFFFF#000000##000000
##8D5DEF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#737E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5def;
/* rgb */ color: rgb(141, 93, 239);
/* oklch */ color: oklch(60.4% 0.209 294.4);
Tailwind
colors: {
  custom: {
    50: '#b48df5',
    500: '#8d5def',
    950: '#000000',
  },
}
SCSS
$custom: #8d5def;
$custom-light: #b48df5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5def",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 259.726,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60397,
    "c": 0.20948,
    "h": 294.4
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#8D5DEF
secondary
#DCEDBB
accent
#DE0798
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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