#8D5CEB#8D5CEB

#8D5CEB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.206 H 295.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8D5CEB
RGBrgb(141, 92, 235)
HSLhsl(261, 78%, 64%)
HSVhsv(261, 61%, 92%)
CMYKcmyk(40%, 60.9%, 0%, 7.8%)
CIE-LABlab(51.05, 50.66, -65.42)
CIE-LCHlch(51.05, 82.74, 307.76°)
OKLaboklab(59.97% 0.0879 -0.1864)
OKLCHoklch(59.97% 0.206 295.3)
XYZxyz(29.8031, 19.3145, 80.7390)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CEB #BAEB5C
analogous
#5C73EB #8D5CEB #D45CEB
triadic
#8D5CEB #EB8D5C #5CEB8D
tetradic
#8D5CEB #EB5C73 #BAEB5C #5CEBD4
square
#8D5CEB #EB5C73 #BAEB5C #5CEBD4
split-complementary
#8D5CEB #EBD45C #73EB5C
monochromatic
#4D16B6 #6725E4 #8D5CEB #B393F2 #D9C9F8

Accessibility & contrast

On white

4.32
#8D5CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8D5CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CEB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CEB#FFFFFF#000000##000000
##8D5CEB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d5ceb;
/* rgb */ color: rgb(141, 92, 235);
/* oklch */ color: oklch(60.0% 0.206 295.3);
Tailwind
colors: {
  custom: {
    50: '#b48cf2',
    500: '#8d5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ceb;
$custom-light: #b48cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ceb",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 260.559,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.20608,
    "h": 295.3
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

primary
#8D5CEB
secondary
#D9EAB8
accent
#DA0B93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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