#8D5BED#8D5BED

#8D5BED is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.210 H 295.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D5BED
RGBrgb(141, 91, 237)
HSLhsl(261, 80%, 64%)
HSVhsv(261, 62%, 93%)
CMYKcmyk(40.5%, 61.6%, 0%, 7.1%)
CIE-LABlab(50.99, 51.72, -66.64)
CIE-LCHlch(50.99, 84.36, 307.81°)
OKLaboklab(59.97% 0.0889 -0.19)
OKLCHoklch(59.97% 0.21 295.1)
XYZxyz(30.0076, 19.2586, 82.2406)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BED #BBED5B
analogous
#5B72ED #8D5BED #D65BED
triadic
#8D5BED #ED8D5B #5BED8D
tetradic
#8D5BED #ED5B72 #BBED5B #5BEDD6
square
#8D5BED #ED5B72 #BBED5B #5BEDD6
split-complementary
#8D5BED #EDD65B #72ED5B
monochromatic
#4D14B9 #6724E7 #8D5BED #B392F3 #DAC9F9

Accessibility & contrast

On white

4.33
#8D5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8D5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BED#FFFFFF#000000##000000
##8D5BED1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#747C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5bed;
/* rgb */ color: rgb(141, 91, 237);
/* oklch */ color: oklch(60.0% 0.210 295.1);
Tailwind
colors: {
  custom: {
    50: '#b48cf4',
    500: '#8d5bed',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bed;
$custom-light: #b48cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bed",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 260.548,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.20976,
    "h": 295.1
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#8D5BED
secondary
#DAEBB9
accent
#DD0994
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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