#8D5BF6#8D5BF6

#8D5BF6 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.220 H 293.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D5BF6
RGBrgb(141, 91, 246)
HSLhsl(259, 90%, 66%)
HSVhsv(259, 63%, 96%)
CMYKcmyk(42.7%, 63%, 0%, 3.5%)
CIE-LABlab(51.61, 54.07, -70.67)
CIE-LCHlch(51.61, 88.98, 307.42°)
OKLaboklab(60.61% 0.0882 -0.2018)
OKLCHoklch(60.61% 0.22 293.6)
XYZxyz(31.3556, 19.7978, 89.3402)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BF6 #C4F65B
analogous
#5B76F6 #8D5BF6 #DA5BF6
triadic
#8D5BF6 #F68D5B #5BF68D
tetradic
#8D5BF6 #F65B76 #C4F65B #5BF6DA
square
#8D5BF6 #F65B76 #C4F65B #5BF6DA
split-complementary
#8D5BF6 #F6DA5B #76F65B
monochromatic
#490BCB #6521F3 #8D5BF6 #B595F9 #DECFFC

Accessibility & contrast

On white

4.23
#8D5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8D5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BF6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BF6#FFFFFF#000000##000000
##8D5BF61.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#707FA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5bf6;
/* rgb */ color: rgb(141, 91, 246);
/* oklch */ color: oklch(60.6% 0.220 293.6);
Tailwind
colors: {
  custom: {
    50: '#b58cfa',
    500: '#8d5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bf6;
$custom-light: #b58cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bf6",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 259.355,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60611,
    "c": 0.22026,
    "h": 293.6
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#8D5BF6
secondary
#DFF0BD
accent
#E6009B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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