#8D5EBD#8D5EBD

#8D5EBD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.3% C 0.147 H 305.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D5EBD
RGBrgb(141, 94, 189)
HSLhsl(270, 42%, 55%)
HSVhsv(270, 50%, 74%)
CMYKcmyk(25.4%, 50.3%, 0%, 25.9%)
CIE-LABlab(48.69, 37.95, -42.98)
CIE-LCHlch(48.69, 57.34, 311.44°)
OKLaboklab(57.34% 0.0846 -0.1206)
OKLCHoklch(57.34% 0.147 305.1)
XYZxyz(24.1706, 17.3424, 50.2083)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EBD #8EBD5E
analogous
#5E5EBD #8D5EBD #BC5EBD
triadic
#8D5EBD #BD8D5E #5EBD8D
tetradic
#8D5EBD #BD5E5E #8EBD5E #5EBDBC
square
#8D5EBD #BD5E5E #8EBD5E #5EBDBC
split-complementary
#8D5EBD #BDBC5E #5EBD5E
monochromatic
#502F72 #6E409D #8D5EBD #AC89CF #CAB5E1

Accessibility & contrast

On white

4.70
#8D5EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8D5EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5EBD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EBD#FFFFFF#000000##FFFFFF
##8D5EBD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#856F85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d5ebd;
/* rgb */ color: rgb(141, 94, 189);
/* oklch */ color: oklch(57.3% 0.147 305.1);
Tailwind
colors: {
  custom: {
    50: '#b18dd1',
    500: '#8d5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ebd;
$custom-light: #b18dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ebd",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 269.684,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.14731,
    "h": 305.1
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#8D5EBD
secondary
#BCCFA8
accent
#D25695
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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