#8D5AEE#8D5AEE

#8D5AEE is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.212 H 295.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D5AEE
RGBrgb(141, 90, 238)
HSLhsl(261, 81%, 64%)
HSVhsv(261, 62%, 93%)
CMYKcmyk(40.8%, 62.2%, 0%, 6.7%)
CIE-LABlab(50.86, 52.51, -67.41)
CIE-LCHlch(50.86, 85.45, 307.92°)
OKLaboklab(59.89% 0.0899 -0.1922)
OKLCHoklch(59.89% 0.212 295.1)
XYZxyz(30.0692, 19.1474, 82.9839)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AEE #BBEE5A
analogous
#5A71EE #8D5AEE #D75AEE
triadic
#8D5AEE #EE8D5A #5AEE8D
tetradic
#8D5AEE #EE5A71 #BBEE5A #5AEED7
square
#8D5AEE #EE5A71 #BBEE5A #5AEED7
split-complementary
#8D5AEE #EED75A #71EE5A
monochromatic
#4D13BA #6723E8 #8D5AEE #B391F4 #DAC9F9

Accessibility & contrast

On white

4.35
#8D5AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AEE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AEE#FFFFFF#000000##000000
##8D5AEE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#747C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5aee;
/* rgb */ color: rgb(141, 90, 238);
/* oklch */ color: oklch(59.9% 0.212 295.1);
Tailwind
colors: {
  custom: {
    50: '#b58bf4',
    500: '#8d5aee',
    950: '#000000',
  },
}
SCSS
$custom: #8d5aee;
$custom-light: #b58bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5aee",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 260.676,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.21224,
    "h": 295.1
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#8D5AEE
secondary
#DAECB8
accent
#DE0894
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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