#8D5ED3#8D5ED3

#8D5ED3 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.174 H 299.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D5ED3
RGBrgb(141, 94, 211)
HSLhsl(264, 57%, 60%)
HSVhsv(264, 55%, 83%)
CMYKcmyk(33.2%, 55.5%, 0%, 17.3%)
CIE-LABlab(49.94, 43.40, -53.62)
CIE-LCHlch(49.94, 68.98, 308.98°)
OKLaboklab(58.67% 0.086 -0.1517)
OKLCHoklch(58.67% 0.174 299.5)
XYZxyz(26.7422, 18.3711, 63.7525)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ED3 #A4D35E
analogous
#5E69D3 #8D5ED3 #C85ED3
triadic
#8D5ED3 #D38D5E #5ED38D
tetradic
#8D5ED3 #D35E69 #A4D35E #5ED3C8
square
#8D5ED3 #D35E69 #A4D35E #5ED3C8
split-complementary
#8D5ED3 #D3C85E #69D35E
monochromatic
#51278F #6C34BF #8D5ED3 #AF8EE0 #D1BEED

Accessibility & contrast

On white

4.49
#8D5ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8D5ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5ED3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ED3#FFFFFF#000000##000000
##8D5ED31.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C77D7
Deuteranopia (green-blind)
#3C76D0
Tritanopia (blue-blind)
#7E758F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5ed3;
/* rgb */ color: rgb(141, 94, 211);
/* oklch */ color: oklch(58.7% 0.174 299.5);
Tailwind
colors: {
  custom: {
    50: '#b28de1',
    500: '#8d5ed3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ed3;
$custom-light: #b28de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ed3",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 211
  },
  "hsl": {
    "h": 264.103,
    "s": 57.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.1744,
    "h": 299.5
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#8D5ED3
secondary
#CBDDB0
accent
#E047A3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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