#8D5DE0#8D5DE0

#8D5DE0 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.192 H 297.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D5DE0
RGBrgb(141, 93, 224)
HSLhsl(262, 68%, 62%)
HSVhsv(262, 58%, 88%)
CMYKcmyk(37.1%, 58.5%, 0%, 12.2%)
CIE-LABlab(50.54, 47.27, -60.05)
CIE-LCHlch(50.54, 76.42, 308.21°)
OKLaboklab(59.37% 0.0872 -0.1706)
OKLCHoklch(59.37% 0.192 297.1)
XYZxyz(28.3500, 18.8728, 72.6557)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DE0 #B0E05D
analogous
#5D6EE0 #8D5DE0 #CF5DE0
triadic
#8D5DE0 #E08D5D #5DE08D
tetradic
#8D5DE0 #E05D6E #B0E05D #5DE0CF
square
#8D5DE0 #E05D6E #B0E05D #5DE0CF
split-complementary
#8D5DE0 #E0CF5D #6EE05D
monochromatic
#501FA3 #692AD6 #8D5DE0 #B190EA #D5C4F4

Accessibility & contrast

On white

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

On black

4.77
#8D5DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DE0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DE0#FFFFFF#000000##000000
##8D5DE01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A79E4
Deuteranopia (green-blind)
#2977DD
Tritanopia (blue-blind)
#797996
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5de0;
/* rgb */ color: rgb(141, 93, 224);
/* oklch */ color: oklch(59.4% 0.192 297.1);
Tailwind
colors: {
  custom: {
    50: '#b38dea',
    500: '#8d5de0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5de0;
$custom-light: #b38dea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5de0",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 224
  },
  "hsl": {
    "h": 261.985,
    "s": 67.876,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59365,
    "c": 0.1916,
    "h": 297.1
  },
  "luminance": 0.18873
}

Semantic roles & 50–950 ramp

primary
#8D5DE0
secondary
#D3E4B4
accent
#D0168C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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