#8D4CEB#8D4CEB

#8D4CEB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.226 H 297.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D4CEB
RGBrgb(141, 76, 235)
HSLhsl(265, 80%, 61%)
HSVhsv(265, 68%, 92%)
CMYKcmyk(40%, 67.7%, 0%, 7.8%)
CIE-LABlab(48.04, 58.85, -70.29)
CIE-LCHlch(48.04, 91.67, 309.93°)
OKLaboklab(57.8% 0.1047 -0.2007)
OKLCHoklch(57.8% 0.226 297.6)
XYZxyz(28.5605, 16.8293, 80.3248)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CEB #AAEB4C
analogous
#4C5AEB #8D4CEB #DC4CEB
triadic
#8D4CEB #EB8D4C #4CEB8D
tetradic
#8D4CEB #EB4C5A #AAEB4C #4CEBDC
square
#8D4CEB #EB4C5A #AAEB4C #4CEBDC
split-complementary
#8D4CEB #EBDC4C #5AEB4C
monochromatic
#5113AA #6B19E1 #8D4CEB #B083F1 #D3BAF7

Accessibility & contrast

On white

4.81
#8D4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8D4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CEB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CEB#FFFFFF#000000##FFFFFF
##8D4CEB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#767296
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d4ceb;
/* rgb */ color: rgb(141, 76, 235);
/* oklch */ color: oklch(57.8% 0.226 297.6);
Tailwind
colors: {
  custom: {
    50: '#b582f2',
    500: '#8d4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ceb;
$custom-light: #b582f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ceb",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 264.528,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.22637,
    "h": 297.6
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#8D4CEB
secondary
#CFE7AB
accent
#DC0986
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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