#8D5EE3#8D5EE3

#8D5EE3 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.194 H 296.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D5EE3
RGBrgb(141, 94, 227)
HSLhsl(261, 70%, 63%)
HSVhsv(261, 59%, 89%)
CMYKcmyk(37.9%, 58.6%, 0%, 11%)
CIE-LABlab(50.94, 47.50, -61.10)
CIE-LCHlch(50.94, 77.39, 307.86°)
OKLaboklab(59.72% 0.086 -0.1737)
OKLCHoklch(59.72% 0.194 296.3)
XYZxyz(28.8488, 19.2137, 74.8468)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EE3 #B4E35E
analogous
#5E71E3 #8D5EE3 #CF5EE3
triadic
#8D5EE3 #E38D5E #5EE38D
tetradic
#8D5EE3 #E35E71 #B4E35E #5EE3CF
square
#8D5EE3 #E35E71 #B4E35E #5EE3CF
split-complementary
#8D5EE3 #E3CF5E #71E35E
monochromatic
#4F1DA9 #682ADA #8D5EE3 #B292EC #D7C6F5

Accessibility & contrast

On white

4.34
#8D5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EE3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EE3#FFFFFF#000000##000000
##8D5EE31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#037AE7
Deuteranopia (green-blind)
#2678E0
Tritanopia (blue-blind)
#787B98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5ee3;
/* rgb */ color: rgb(141, 94, 227);
/* oklch */ color: oklch(59.7% 0.194 296.3);
Tailwind
colors: {
  custom: {
    50: '#b38ded',
    500: '#8d5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ee3;
$custom-light: #b38ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ee3",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 261.203,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.19381,
    "h": 296.3
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#8D5EE3
secondary
#D5E6B6
accent
#D2138F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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