#8D5BF5#8D5BF5

#8D5BF5 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.219 H 293.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D5BF5
RGBrgb(141, 91, 245)
HSLhsl(259, 89%, 66%)
HSVhsv(259, 63%, 96%)
CMYKcmyk(42.4%, 62.9%, 0%, 3.9%)
CIE-LABlab(51.54, 53.81, -70.23)
CIE-LCHlch(51.54, 88.47, 307.46°)
OKLaboklab(60.54% 0.0883 -0.2005)
OKLCHoklch(60.54% 0.219 293.8)
XYZxyz(31.2026, 19.7366, 88.5341)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BF5 #C3F55B
analogous
#5B76F5 #8D5BF5 #DA5BF5
triadic
#8D5BF5 #F58D5B #5BF58D
tetradic
#8D5BF5 #F55B76 #C3F55B #5BF5DA
square
#8D5BF5 #F55B76 #C3F55B #5BF5DA
split-complementary
#8D5BF5 #F5DA5B #76F55B
monochromatic
#4A0CC9 #6521F1 #8D5BF5 #B595F9 #DDCEFC

Accessibility & contrast

On white

4.24
#8D5BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8D5BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BF5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BF5#FFFFFF#000000##000000
##8D5BF51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d5bf5;
/* rgb */ color: rgb(141, 91, 245);
/* oklch */ color: oklch(60.5% 0.219 293.8);
Tailwind
colors: {
  custom: {
    50: '#b58cf9',
    500: '#8d5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bf5;
$custom-light: #b58cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bf5",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 259.481,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.2191,
    "h": 293.8
  },
  "luminance": 0.19737
}

Semantic roles & 50–950 ramp

primary
#8D5BF5
secondary
#DFEFBC
accent
#E5009B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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