#8D5ECA#8D5ECA

#8D5ECA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.163 H 301.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8D5ECA
RGBrgb(141, 94, 202)
HSLhsl(266, 50%, 58%)
HSVhsv(266, 53%, 79%)
CMYKcmyk(30.2%, 53.5%, 0%, 20.8%)
CIE-LABlab(49.41, 41.14, -49.32)
CIE-LCHlch(49.41, 64.22, 309.83°)
OKLaboklab(58.11% 0.0856 -0.1391)
OKLCHoklch(58.11% 0.163 301.6)
XYZxyz(25.6454, 17.9323, 57.9759)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ECA #9BCA5E
analogous
#5E65CA #8D5ECA #C35ECA
triadic
#8D5ECA #CA8D5E #5ECA8D
tetradic
#8D5ECA #CA5E65 #9BCA5E #5ECAC3
square
#8D5ECA #CA5E65 #9BCA5E #5ECAC3
split-complementary
#8D5ECA #CAC35E #65CA5E
monochromatic
#512B83 #6E3AB1 #8D5ECA #AE8CD9 #CEBAE8

Accessibility & contrast

On white

4.58
#8D5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8D5ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5ECA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ECA#FFFFFF#000000##000000
##8D5ECA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#81738B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5eca;
/* rgb */ color: rgb(141, 94, 202);
/* oklch */ color: oklch(58.1% 0.163 301.6);
Tailwind
colors: {
  custom: {
    50: '#b18ddb',
    500: '#8d5eca',
    950: '#000000',
  },
}
SCSS
$custom: #8d5eca;
$custom-light: #b18ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5eca",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 266.111,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5811,
    "c": 0.16336,
    "h": 301.6
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#8D5ECA
secondary
#C5D7AC
accent
#DA4E9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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