#8D5DE7#8D5DE7

#8D5DE7 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.8% C 0.200 H 295.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D5DE7
RGBrgb(141, 93, 231)
HSLhsl(261, 74%, 64%)
HSVhsv(261, 60%, 91%)
CMYKcmyk(39%, 59.7%, 0%, 9.4%)
CIE-LABlab(50.99, 49.08, -63.27)
CIE-LCHlch(50.99, 80.08, 307.80°)
OKLaboklab(59.84% 0.087 -0.1801)
OKLCHoklch(59.84% 0.2 295.8)
XYZxyz(29.3189, 19.2604, 77.7587)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DE7 #B7E75D
analogous
#5D72E7 #8D5DE7 #D25DE7
triadic
#8D5DE7 #E78D5D #5DE78D
tetradic
#8D5DE7 #E75D72 #B7E75D #5DE7D2
square
#8D5DE7 #E75D72 #B7E75D #5DE7D2
split-complementary
#8D5DE7 #E7D25D #72E75D
monochromatic
#4E1AB0 #6728DF #8D5DE7 #B392EF #D8C8F7

Accessibility & contrast

On white

4.33
#8D5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8D5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DE7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DE7#FFFFFF#000000##000000
##8D5DE71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1977E4
Tritanopia (blue-blind)
#777B99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5de7;
/* rgb */ color: rgb(141, 93, 231);
/* oklch */ color: oklch(59.8% 0.200 295.8);
Tailwind
colors: {
  custom: {
    50: '#b48def',
    500: '#8d5de7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5de7;
$custom-light: #b48def;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5de7",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 260.87,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.19998,
    "h": 295.8
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#8D5DE7
secondary
#D7E8B7
accent
#D60F91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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