#8D5CF6#8D5CF6

#8D5CF6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.219 H 293.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D5CF6
RGBrgb(141, 92, 246)
HSLhsl(259, 90%, 66%)
HSVhsv(259, 63%, 96%)
CMYKcmyk(42.7%, 62.6%, 0%, 3.5%)
CIE-LABlab(51.80, 53.55, -70.36)
CIE-LCHlch(51.80, 88.41, 307.27°)
OKLaboklab(60.75% 0.0872 -0.2009)
OKLCHoklch(60.75% 0.219 293.5)
XYZxyz(31.4417, 19.9700, 89.3689)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CF6 #C5F65C
analogous
#5C78F6 #8D5CF6 #DA5CF6
triadic
#8D5CF6 #F68D5C #5CF68D
tetradic
#8D5CF6 #F65C78 #C5F65C #5CF6DA
square
#8D5CF6 #F65C78 #C5F65C #5CF6DA
split-complementary
#8D5CF6 #F6DA5C #78F65C
monochromatic
#490BCC #6422F3 #8D5CF6 #B696F9 #DED0FC

Accessibility & contrast

On white

4.20
#8D5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D5CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CF6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CF6#FFFFFF#000000##000000
##8D5CF61.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#7080A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5cf6;
/* rgb */ color: rgb(141, 92, 246);
/* oklch */ color: oklch(60.8% 0.219 293.5);
Tailwind
colors: {
  custom: {
    50: '#b58dfa',
    500: '#8d5cf6',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cf6;
$custom-light: #b58dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cf6",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 259.091,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.21899,
    "h": 293.5
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#8D5CF6
secondary
#E0F0BE
accent
#E6009C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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