#8D5EEF#8D5EEF

#8D5EEF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.208 H 294.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D5EEF
RGBrgb(141, 94, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 61%, 94%)
CMYKcmyk(41%, 60.7%, 0%, 6.3%)
CIE-LABlab(51.72, 50.64, -66.57)
CIE-LCHlch(51.72, 83.64, 307.26°)
OKLaboklab(60.54% 0.0855 -0.1898)
OKLCHoklch(60.54% 0.208 294.3)
XYZxyz(30.5630, 19.8994, 83.8753)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EEF #C0EF5E
analogous
#5E78EF #8D5EEF #D55EEF
triadic
#8D5EEF #EF8D5E #5EEF8D
tetradic
#8D5EEF #EF5E78 #C0EF5E #5EEFD5
square
#8D5EEF #EF5E78 #C0EF5E #5EEFD5
split-complementary
#8D5EEF #EFD55E #78EF5E
monochromatic
#4B13C0 #6626E9 #8D5EEF #B496F5 #DCCDFA

Accessibility & contrast

On white

4.22
#8D5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8D5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EEF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EEF#FFFFFF#000000##000000
##8D5EEF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#737F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5eef;
/* rgb */ color: rgb(141, 94, 239);
/* oklch */ color: oklch(60.5% 0.208 294.3);
Tailwind
colors: {
  custom: {
    50: '#b48ef5',
    500: '#8d5eef',
    950: '#000000',
  },
}
SCSS
$custom: #8d5eef;
$custom-light: #b48ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5eef",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 259.448,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.20815,
    "h": 294.3
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#8D5EEF
secondary
#DDEDBC
accent
#DE0799
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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