#8D5EDF#8D5EDF

#8D5EDF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.189 H 297.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D5EDF
RGBrgb(141, 94, 223)
HSLhsl(262, 67%, 62%)
HSVhsv(262, 58%, 87%)
CMYKcmyk(36.8%, 57.8%, 0%, 12.5%)
CIE-LABlab(50.68, 46.47, -59.25)
CIE-LCHlch(50.68, 75.30, 308.10°)
OKLaboklab(59.45% 0.0861 -0.1683)
OKLCHoklch(59.45% 0.189 297.1)
XYZxyz(28.3031, 18.9954, 71.9730)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EDF #B0DF5E
analogous
#5E70DF #8D5EDF #CD5EDF
triadic
#8D5EDF #DF8D5E #5EDF8D
tetradic
#8D5EDF #DF5E70 #B0DF5E #5EDFCD
square
#8D5EDF #DF5E70 #B0DF5E #5EDFCD
split-complementary
#8D5EDF #DFCD5E #70DF5E
monochromatic
#5020A2 #692BD5 #8D5EDF #B191E9 #D5C4F3

Accessibility & contrast

On white

4.38
#8D5EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8D5EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EDF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EDF#FFFFFF#000000##000000
##8D5EDF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#7A7996
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5edf;
/* rgb */ color: rgb(141, 94, 223);
/* oklch */ color: oklch(59.5% 0.189 297.1);
Tailwind
colors: {
  custom: {
    50: '#b38dea',
    500: '#8d5edf',
    950: '#000000',
  },
}
SCSS
$custom: #8d5edf;
$custom-light: #b38dea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5edf",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 261.86,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.18899,
    "h": 297.1
  },
  "luminance": 0.18996
}

Semantic roles & 50–950 ramp

primary
#8D5EDF
secondary
#D3E4B5
accent
#CF178C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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