#8D5BE7#8D5BE7

#8D5BE7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.203 H 296.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D5BE7
RGBrgb(141, 91, 231)
HSLhsl(261, 74%, 63%)
HSVhsv(261, 61%, 91%)
CMYKcmyk(39%, 60.6%, 0%, 9.4%)
CIE-LABlab(50.59, 50.16, -63.92)
CIE-LCHlch(50.59, 81.25, 308.12°)
OKLaboklab(59.55% 0.0893 -0.182)
OKLCHoklch(59.55% 0.203 296.1)
XYZxyz(29.1457, 18.9139, 77.7010)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BE7 #B5E75B
analogous
#5B6FE7 #8D5BE7 #D35BE7
triadic
#8D5BE7 #E78D5B #5BE78D
tetradic
#8D5BE7 #E75B6F #B5E75B #5BE7D3
square
#8D5BE7 #E75B6F #B5E75B #5BE7D3
split-complementary
#8D5BE7 #E7D35B #6FE75B
monochromatic
#4F19AE #6826DF #8D5BE7 #B290EF #D7C6F7

Accessibility & contrast

On white

4.39
#8D5BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8D5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BE7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BE7#FFFFFF#000000##000000
##8D5BE71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#1177E4
Tritanopia (blue-blind)
#777A99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5be7;
/* rgb */ color: rgb(141, 91, 231);
/* oklch */ color: oklch(59.5% 0.203 296.1);
Tailwind
colors: {
  custom: {
    50: '#b48cef',
    500: '#8d5be7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5be7;
$custom-light: #b48cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5be7",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 261.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.2027,
    "h": 296.1
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#8D5BE7
secondary
#D6E8B6
accent
#D70F8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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