#8D5CEF#8D5CEF

#8D5CEF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.211 H 294.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D5CEF
RGBrgb(141, 92, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 62%, 94%)
CMYKcmyk(41%, 61.5%, 0%, 6.3%)
CIE-LABlab(51.32, 51.71, -67.22)
CIE-LCHlch(51.32, 84.81, 307.57°)
OKLaboklab(60.25% 0.0877 -0.1917)
OKLCHoklch(60.25% 0.211 294.6)
XYZxyz(30.3875, 19.5483, 83.8168)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CEF #BEEF5C
analogous
#5C75EF #8D5CEF #D75CEF
triadic
#8D5CEF #EF8D5C #5CEF8D
tetradic
#8D5CEF #EF5C75 #BEEF5C #5CEFD7
square
#8D5CEF #EF5C75 #BEEF5C #5CEFD7
split-complementary
#8D5CEF #EFD75C #75EF5C
monochromatic
#4C13BE #6624EA #8D5CEF #B494F4 #DBCBFA

Accessibility & contrast

On white

4.28
#8D5CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D5CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CEF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CEF#FFFFFF#000000##000000
##8D5CEF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#737D9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5cef;
/* rgb */ color: rgb(141, 92, 239);
/* oklch */ color: oklch(60.3% 0.211 294.6);
Tailwind
colors: {
  custom: {
    50: '#b58cf5',
    500: '#8d5cef',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cef;
$custom-light: #b58cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cef",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60251,
    "c": 0.2108,
    "h": 294.6
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#8D5CEF
secondary
#DCECBA
accent
#DF0797
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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