#8D5DE9#8D5DE9

#8D5DE9 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.202 H 295.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D5DE9
RGBrgb(141, 93, 233)
HSLhsl(261, 76%, 64%)
HSVhsv(261, 60%, 91%)
CMYKcmyk(39.5%, 60.1%, 0%, 8.6%)
CIE-LABlab(51.12, 49.61, -64.18)
CIE-LCHlch(51.12, 81.12, 307.70°)
OKLaboklab(59.98% 0.0869 -0.1827)
OKLCHoklch(59.98% 0.202 295.4)
XYZxyz(29.6030, 19.3740, 79.2549)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DE9 #B9E95D
analogous
#5D73E9 #8D5DE9 #D35DE9
triadic
#8D5DE9 #E98D5D #5DE98D
tetradic
#8D5DE9 #E95D73 #B9E95D #5DE9D3
square
#8D5DE9 #E95D73 #B9E95D #5DE9D3
split-complementary
#8D5DE9 #E9D35D #73E95D
monochromatic
#4D18B3 #6727E2 #8D5DE9 #B393F0 #D9C9F8

Accessibility & contrast

On white

4.31
#8D5DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8D5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DE9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DE9#FFFFFF#000000##000000
##8D5DE91.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#1378E6
Tritanopia (blue-blind)
#767C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5de9;
/* rgb */ color: rgb(141, 93, 233);
/* oklch */ color: oklch(60.0% 0.202 295.4);
Tailwind
colors: {
  custom: {
    50: '#b48df1',
    500: '#8d5de9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5de9;
$custom-light: #b48df1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5de9",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 260.571,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.20237,
    "h": 295.4
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#8D5DE9
secondary
#D9E9B8
accent
#D80D93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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