#8D5BE4#8D5BE4

#8D5BE4 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.199 H 296.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D5BE4
RGBrgb(141, 91, 228)
HSLhsl(262, 72%, 63%)
HSVhsv(262, 60%, 89%)
CMYKcmyk(38.2%, 60.1%, 0%, 10.6%)
CIE-LABlab(50.39, 49.38, -62.55)
CIE-LCHlch(50.39, 79.70, 308.29°)
OKLaboklab(59.34% 0.0894 -0.1779)
OKLCHoklch(59.34% 0.199 296.7)
XYZxyz(28.7256, 18.7458, 75.4886)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BE4 #B2E45B
analogous
#5B6DE4 #8D5BE4 #D25BE4
triadic
#8D5BE4 #E48D5B #5BE48D
tetradic
#8D5BE4 #E45B6D #B2E45B #5BE4D2
square
#8D5BE4 #E45B6D #B2E45B #5BE4D2
split-complementary
#8D5BE4 #E4D25B #6DE45B
monochromatic
#4F1CA9 #6826DB #8D5BE4 #B290ED #D6C4F5

Accessibility & contrast

On white

4.42
#8D5BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8D5BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BE4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BE4#FFFFFF#000000##000000
##8D5BE41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#1B76E1
Tritanopia (blue-blind)
#787997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5be4;
/* rgb */ color: rgb(141, 91, 228);
/* oklch */ color: oklch(59.3% 0.199 296.7);
Tailwind
colors: {
  custom: {
    50: '#b48bed',
    500: '#8d5be4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5be4;
$custom-light: #b48bed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5be4",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 261.898,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59339,
    "c": 0.19915,
    "h": 296.7
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#8D5BE4
secondary
#D4E6B4
accent
#D4128D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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