#8D5FDE#8D5FDE

#8D5FDE is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.186 H 297.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D5FDE
RGBrgb(141, 95, 222)
HSLhsl(262, 66%, 62%)
HSVhsv(262, 57%, 87%)
CMYKcmyk(36.5%, 57.2%, 0%, 12.9%)
CIE-LABlab(50.83, 45.66, -58.45)
CIE-LCHlch(50.83, 74.17, 308.00°)
OKLaboklab(59.54% 0.0849 -0.1659)
OKLCHoklch(59.54% 0.186 297.1)
XYZxyz(28.2582, 19.1206, 71.2949)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FDE #B0DE5F
analogous
#5F71DE #8D5FDE #CC5FDE
triadic
#8D5FDE #DE8D5F #5FDE8D
tetradic
#8D5FDE #DE5F71 #B0DE5F #5FDECC
square
#8D5FDE #DE5F71 #B0DE5F #5FDECC
split-complementary
#8D5FDE #DECC5F #71DE5F
monochromatic
#5021A1 #692CD4 #8D5FDE #B192E8 #D5C4F3

Accessibility & contrast

On white

4.35
#8D5FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8D5FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FDE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FDE#FFFFFF#000000##000000
##8D5FDE1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7AE2
Deuteranopia (green-blind)
#3078DB
Tritanopia (blue-blind)
#7A7A95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5fde;
/* rgb */ color: rgb(141, 95, 222);
/* oklch */ color: oklch(59.5% 0.186 297.1);
Tailwind
colors: {
  custom: {
    50: '#b38ee9',
    500: '#8d5fde',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fde;
$custom-light: #b38ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fde",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 261.732,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.18635,
    "h": 297.1
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#8D5FDE
secondary
#D3E4B5
accent
#CE188C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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