#8D5ED2#8D5ED2

#8D5ED2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.173 H 299.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D5ED2
RGBrgb(141, 94, 210)
HSLhsl(264, 56%, 60%)
HSVhsv(264, 55%, 82%)
CMYKcmyk(32.9%, 55.2%, 0%, 17.6%)
CIE-LABlab(49.88, 43.14, -53.15)
CIE-LCHlch(49.88, 68.46, 309.07°)
OKLaboklab(58.61% 0.086 -0.1503)
OKLCHoklch(58.61% 0.173 299.8)
XYZxyz(26.6173, 18.3211, 63.0943)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ED2 #A3D25E
analogous
#5E69D2 #8D5ED2 #C75ED2
triadic
#8D5ED2 #D28D5E #5ED28D
tetradic
#8D5ED2 #D25E69 #A3D25E #5ED2C7
square
#8D5ED2 #D25E69 #A3D25E #5ED2C7
split-complementary
#8D5ED2 #D2C75E #69D25E
monochromatic
#51288E #6C35BE #8D5ED2 #AF8EDF #D1BEED

Accessibility & contrast

On white

4.50
#8D5ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8D5ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5ED2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ED2#FFFFFF#000000##000000
##8D5ED21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D6
Deuteranopia (green-blind)
#3D76CF
Tritanopia (blue-blind)
#7F758F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5ed2;
/* rgb */ color: rgb(141, 94, 210);
/* oklch */ color: oklch(58.6% 0.173 299.8);
Tailwind
colors: {
  custom: {
    50: '#b28de0',
    500: '#8d5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ed2;
$custom-light: #b28de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ed2",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 264.31,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58607,
    "c": 0.17317,
    "h": 299.8
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#8D5ED2
secondary
#CADCAF
accent
#E048A2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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