#8D5BE5#8D5BE5

#8D5BE5 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.200 H 296.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8D5BE5
RGBrgb(141, 91, 229)
HSLhsl(262, 73%, 63%)
HSVhsv(262, 60%, 90%)
CMYKcmyk(38.4%, 60.3%, 0%, 10.2%)
CIE-LABlab(50.45, 49.64, -63.01)
CIE-LCHlch(50.45, 80.21, 308.23°)
OKLaboklab(59.41% 0.0894 -0.1793)
OKLCHoklch(59.41% 0.2 296.5)
XYZxyz(28.8648, 18.8015, 76.2218)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BE5 #B3E55B
analogous
#5B6EE5 #8D5BE5 #D25BE5
triadic
#8D5BE5 #E58D5B #5BE58D
tetradic
#8D5BE5 #E55B6E #B3E55B #5BE5D2
square
#8D5BE5 #E55B6E #B3E55B #5BE5D2
split-complementary
#8D5BE5 #E5D25B #6EE55B
monochromatic
#4F1BAB #6826DD #8D5BE5 #B290ED #D6C5F6

Accessibility & contrast

On white

4.41
#8D5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8D5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BE5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BE5#FFFFFF#000000##000000
##8D5BE51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#787997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5be5;
/* rgb */ color: rgb(141, 91, 229);
/* oklch */ color: oklch(59.4% 0.200 296.5);
Tailwind
colors: {
  custom: {
    50: '#b48cee',
    500: '#8d5be5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5be5;
$custom-light: #b48cee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5be5",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 261.739,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.20033,
    "h": 296.5
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#8D5BE5
secondary
#D5E7B5
accent
#D5118E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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