#8D5BEE#8D5BEE

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

Color values

HEX#8D5BEE
RGBrgb(141, 91, 238)
HSLhsl(260, 81%, 65%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(40.8%, 61.8%, 0%, 6.7%)
CIE-LABlab(51.06, 51.98, -67.09)
CIE-LCHlch(51.06, 84.87, 307.77°)
OKLaboklab(60.04% 0.0888 -0.1913)
OKLCHoklch(60.04% 0.211 294.9)
XYZxyz(30.1541, 19.3172, 83.0122)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BEE #BCEE5B
analogous
#5B73EE #8D5BEE #D65BEE
triadic
#8D5BEE #EE8D5B #5BEE8D
tetradic
#8D5BEE #EE5B73 #BCEE5B #5BEED6
square
#8D5BEE #EE5B73 #BCEE5B #5BEED6
split-complementary
#8D5BEE #EED65B #73EE5B
monochromatic
#4C13BB #6624E8 #8D5BEE #B492F4 #DACAF9

Accessibility & contrast

On white

4.32
#8D5BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8D5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BEE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BEE#FFFFFF#000000##000000
##8D5BEE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#747C9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5bee;
/* rgb */ color: rgb(141, 91, 238);
/* oklch */ color: oklch(60.0% 0.211 294.9);
Tailwind
colors: {
  custom: {
    50: '#b48cf4',
    500: '#8d5bee',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bee;
$custom-light: #b48cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bee",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 260.408,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.21093,
    "h": 294.9
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#8D5BEE
secondary
#DBECB9
accent
#DE0895
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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