#8D5BEF#8D5BEF

#8D5BEF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.212 H 294.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D5BEF
RGBrgb(141, 91, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 62%, 94%)
CMYKcmyk(41%, 61.9%, 0%, 6.3%)
CIE-LABlab(51.12, 52.24, -67.54)
CIE-LCHlch(51.12, 85.39, 307.72°)
OKLaboklab(60.11% 0.0888 -0.1926)
OKLCHoklch(60.11% 0.212 294.7)
XYZxyz(30.3014, 19.3762, 83.7881)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BEF #BDEF5B
analogous
#5B73EF #8D5BEF #D75BEF
triadic
#8D5BEF #EF8D5B #5BEF8D
tetradic
#8D5BEF #EF5B73 #BDEF5B #5BEFD7
square
#8D5BEF #EF5B73 #BDEF5B #5BEFD7
split-complementary
#8D5BEF #EFD75B #73EF5B
monochromatic
#4C12BD #6623EA #8D5BEF #B493F4 #DBCBFA

Accessibility & contrast

On white

4.31
#8D5BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8D5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BEF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BEF#FFFFFF#000000##000000
##8D5BEF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d5bef;
/* rgb */ color: rgb(141, 91, 239);
/* oklch */ color: oklch(60.1% 0.212 294.7);
Tailwind
colors: {
  custom: {
    50: '#b58cf5',
    500: '#8d5bef',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bef;
$custom-light: #b58cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bef",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 260.27,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.2121,
    "h": 294.7
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#8D5BEF
secondary
#DBECBA
accent
#DF0796
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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