#8D5BEA#8D5BEA

#8D5BEA is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.206 H 295.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D5BEA
RGBrgb(141, 91, 234)
HSLhsl(261, 77%, 64%)
HSVhsv(261, 61%, 92%)
CMYKcmyk(39.7%, 61.1%, 0%, 8.2%)
CIE-LABlab(50.79, 50.94, -65.29)
CIE-LCHlch(50.79, 82.81, 307.96°)
OKLaboklab(59.76% 0.0891 -0.186)
OKLCHoklch(59.76% 0.206 295.6)
XYZxyz(29.5730, 19.0848, 79.9516)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BEA #B8EA5B
analogous
#5B70EA #8D5BEA #D45BEA
triadic
#8D5BEA #EA8D5B #5BEA8D
tetradic
#8D5BEA #EA5B70 #B8EA5B #5BEAD4
square
#8D5BEA #EA5B70 #B8EA5B #5BEAD4
split-complementary
#8D5BEA #EAD45B #70EA5B
monochromatic
#4E17B4 #6725E3 #8D5BEA #B391F1 #D8C8F8

Accessibility & contrast

On white

4.36
#8D5BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8D5BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BEA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BEA#FFFFFF#000000##000000
##8D5BEA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0177E7
Tritanopia (blue-blind)
#757B9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5bea;
/* rgb */ color: rgb(141, 91, 234);
/* oklch */ color: oklch(59.8% 0.206 295.6);
Tailwind
colors: {
  custom: {
    50: '#b48cf2',
    500: '#8d5bea',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bea;
$custom-light: #b48cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bea",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 260.979,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59755,
    "c": 0.20623,
    "h": 295.6
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#8D5BEA
secondary
#D8EAB7
accent
#DA0C92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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