#8D5BF8#8D5BF8

#8D5BF8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.223 H 293.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D5BF8
RGBrgb(141, 91, 248)
HSLhsl(259, 92%, 66%)
HSVhsv(259, 63%, 97%)
CMYKcmyk(43.1%, 63.3%, 0%, 2.7%)
CIE-LABlab(51.75, 54.60, -71.56)
CIE-LCHlch(51.75, 90.01, 307.34°)
OKLaboklab(60.76% 0.088 -0.2044)
OKLCHoklch(60.76% 0.223 293.3)
XYZxyz(31.6643, 19.9213, 90.9656)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BF8 #C6F85B
analogous
#5B78F8 #8D5BF8 #DB5BF8
triadic
#8D5BF8 #F88D5B #5BF88D
tetradic
#8D5BF8 #F85B78 #C6F85B #5BF8DB
square
#8D5BF8 #F85B78 #C6F85B #5BF8DB
split-complementary
#8D5BF8 #F8DB5B #78F85B
monochromatic
#4809D0 #6420F5 #8D5BF8 #B696FB #DFD0FD

Accessibility & contrast

On white

4.21
#8D5BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8D5BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BF8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BF8#FFFFFF#000000##000000
##8D5BF81.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#6F80A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5bf8;
/* rgb */ color: rgb(141, 91, 248);
/* oklch */ color: oklch(60.8% 0.223 293.3);
Tailwind
colors: {
  custom: {
    50: '#b58cfc',
    500: '#8d5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bf8;
$custom-light: #b58cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bf8",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 259.108,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.22258,
    "h": 293.3
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#8D5BF8
secondary
#E1F1BE
accent
#E6009C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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