#8D5DEB#8D5DEB

#8D5DEB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.205 H 295.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D5DEB
RGBrgb(141, 93, 235)
HSLhsl(260, 78%, 64%)
HSVhsv(260, 60%, 92%)
CMYKcmyk(40%, 60.4%, 0%, 7.8%)
CIE-LABlab(51.25, 50.13, -65.09)
CIE-LCHlch(51.25, 82.16, 307.60°)
OKLaboklab(60.12% 0.0868 -0.1854)
OKLCHoklch(60.12% 0.205 295.1)
XYZxyz(29.8903, 19.4889, 80.7681)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DEB #BBEB5D
analogous
#5D74EB #8D5DEB #D45DEB
triadic
#8D5DEB #EB8D5D #5DEB8D
tetradic
#8D5DEB #EB5D74 #BBEB5D #5DEBD4
square
#8D5DEB #EB5D74 #BBEB5D #5DEBD4
split-complementary
#8D5DEB #EBD45D #74EB5D
monochromatic
#4D17B7 #6727E4 #8D5DEB #B393F2 #DACAF8

Accessibility & contrast

On white

4.29
#8D5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8D5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DEB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DEB#FFFFFF#000000##000000
##8D5DEB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0978E8
Tritanopia (blue-blind)
#757D9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5deb;
/* rgb */ color: rgb(141, 93, 235);
/* oklch */ color: oklch(60.1% 0.205 295.1);
Tailwind
colors: {
  custom: {
    50: '#b48df2',
    500: '#8d5deb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5deb;
$custom-light: #b48df2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5deb",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 260.282,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60117,
    "c": 0.20474,
    "h": 295.1
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

primary
#8D5DEB
secondary
#DAEBB9
accent
#DA0B94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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