#8D5EE9#8D5EE9

#8D5EE9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.1% C 0.201 H 295.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D5EE9
RGBrgb(141, 94, 233)
HSLhsl(260, 76%, 64%)
HSVhsv(260, 60%, 91%)
CMYKcmyk(39.5%, 59.7%, 0%, 8.6%)
CIE-LABlab(51.33, 49.07, -63.85)
CIE-LCHlch(51.33, 80.53, 307.54°)
OKLaboklab(60.13% 0.0858 -0.1818)
OKLCHoklch(60.13% 0.201 295.3)
XYZxyz(29.6913, 19.5507, 79.2843)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EE9 #BAE95E
analogous
#5E75E9 #8D5EE9 #D35EE9
triadic
#8D5EE9 #E98D5E #5EE98D
tetradic
#8D5EE9 #E95E75 #BAE95E #5EE9D3
square
#8D5EE9 #E95E75 #BAE95E #5EE9D3
split-complementary
#8D5EE9 #E9D35E #75E95E
monochromatic
#4D19B4 #6728E2 #8D5EE9 #B394F0 #D9CAF8

Accessibility & contrast

On white

4.28
#8D5EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D5EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EE9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EE9#FFFFFF#000000##000000
##8D5EE91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#1778E6
Tritanopia (blue-blind)
#767D9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5ee9;
/* rgb */ color: rgb(141, 94, 233);
/* oklch */ color: oklch(60.1% 0.201 295.3);
Tailwind
colors: {
  custom: {
    50: '#b48ef1',
    500: '#8d5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ee9;
$custom-light: #b48ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ee9",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 260.288,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.20101,
    "h": 295.3
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#8D5EE9
secondary
#D9EAB9
accent
#D80D94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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