#8D5BE8#8D5BE8

#8D5BE8 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.204 H 295.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8D5BE8
RGBrgb(141, 91, 232)
HSLhsl(261, 75%, 63%)
HSVhsv(261, 61%, 91%)
CMYKcmyk(39.2%, 60.8%, 0%, 9%)
CIE-LABlab(50.65, 50.42, -64.38)
CIE-LCHlch(50.65, 81.77, 308.07°)
OKLaboklab(59.61% 0.0892 -0.1833)
OKLCHoklch(59.61% 0.204 295.9)
XYZxyz(29.2873, 18.9705, 78.4469)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BE8 #B6E85B
analogous
#5B6FE8 #8D5BE8 #D45BE8
triadic
#8D5BE8 #E88D5B #5BE88D
tetradic
#8D5BE8 #E85B6F #B6E85B #5BE8D4
square
#8D5BE8 #E85B6F #B6E85B #5BE8D4
split-complementary
#8D5BE8 #E8D45B #6FE85B
monochromatic
#4E19B0 #6825E0 #8D5BE8 #B291F0 #D8C6F7

Accessibility & contrast

On white

4.38
#8D5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8D5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BE8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BE8#FFFFFF#000000##000000
##8D5BE81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#0D77E5
Tritanopia (blue-blind)
#767A99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5be8;
/* rgb */ color: rgb(141, 91, 232);
/* oklch */ color: oklch(59.6% 0.204 295.9);
Tailwind
colors: {
  custom: {
    50: '#b48cf0',
    500: '#8d5be8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5be8;
$custom-light: #b48cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5be8",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 261.277,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.20387,
    "h": 295.9
  },
  "luminance": 0.18971
}

Semantic roles & 50–950 ramp

primary
#8D5BE8
secondary
#D7E9B6
accent
#D80E90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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