#8D5DE3#8D5DE3

#8D5DE3 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.195 H 296.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D5DE3
RGBrgb(141, 93, 227)
HSLhsl(261, 71%, 63%)
HSVhsv(261, 59%, 89%)
CMYKcmyk(37.9%, 59%, 0%, 11%)
CIE-LABlab(50.73, 48.05, -61.43)
CIE-LCHlch(50.73, 77.99, 308.03°)
OKLaboklab(59.57% 0.0872 -0.1747)
OKLCHoklch(59.57% 0.195 296.5)
XYZxyz(28.7604, 19.0370, 74.8174)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DE3 #B3E35D
analogous
#5D70E3 #8D5DE3 #D05DE3
triadic
#8D5DE3 #E38D5D #5DE38D
tetradic
#8D5DE3 #E35D70 #B3E35D #5DE3D0
square
#8D5DE3 #E35D70 #B3E35D #5DE3D0
split-complementary
#8D5DE3 #E3D05D #70E35D
monochromatic
#4F1DA8 #6829DA #8D5DE3 #B291EC #D6C5F5

Accessibility & contrast

On white

4.37
#8D5DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8D5DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DE3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DE3#FFFFFF#000000##000000
##8D5DE31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2377E0
Tritanopia (blue-blind)
#787A97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5de3;
/* rgb */ color: rgb(141, 93, 227);
/* oklch */ color: oklch(59.6% 0.195 296.5);
Tailwind
colors: {
  custom: {
    50: '#b38ded',
    500: '#8d5de3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5de3;
$custom-light: #b38ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5de3",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 261.493,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.1952,
    "h": 296.5
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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