#8D5EDD#8D5EDD

#8D5EDD is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.187 H 297.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D5EDD
RGBrgb(141, 94, 221)
HSLhsl(262, 65%, 62%)
HSVhsv(262, 57%, 87%)
CMYKcmyk(36.2%, 57.5%, 0%, 13.3%)
CIE-LABlab(50.56, 45.95, -58.32)
CIE-LCHlch(50.56, 74.25, 308.23°)
OKLaboklab(59.32% 0.0861 -0.1655)
OKLCHoklch(59.32% 0.187 297.5)
XYZxyz(28.0351, 18.8882, 70.5613)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EDD #AEDD5E
analogous
#5E6FDD #8D5EDD #CD5EDD
triadic
#8D5EDD #DD8D5E #5EDD8D
tetradic
#8D5EDD #DD5E6F #AEDD5E #5EDDCD
square
#8D5EDD #DD5E6F #AEDD5E #5EDDCD
split-complementary
#8D5EDD #DDCD5E #6FDD5E
monochromatic
#50229F #692CD2 #8D5EDD #B191E8 #D5C3F2

Accessibility & contrast

On white

4.40
#8D5EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8D5EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EDD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EDD#FFFFFF#000000##000000
##8D5EDD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A79E1
Deuteranopia (green-blind)
#3077DA
Tritanopia (blue-blind)
#7B7995
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5edd;
/* rgb */ color: rgb(141, 94, 221);
/* oklch */ color: oklch(59.3% 0.187 297.5);
Tailwind
colors: {
  custom: {
    50: '#b38de8',
    500: '#8d5edd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5edd;
$custom-light: #b38de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5edd",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 262.205,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.18657,
    "h": 297.5
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#8D5EDD
secondary
#D2E3B4
accent
#CD198A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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