#8D4DE9#8D4DE9

#8D4DE9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.223 H 297.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D4DE9
RGBrgb(141, 77, 233)
HSLhsl(265, 78%, 61%)
HSVhsv(265, 67%, 91%)
CMYKcmyk(39.5%, 67%, 0%, 8.6%)
CIE-LABlab(48.07, 57.86, -69.12)
CIE-LCHlch(48.07, 90.14, 309.93°)
OKLaboklab(57.78% 0.104 -0.1972)
OKLCHoklch(57.78% 0.223 297.8)
XYZxyz(28.3426, 16.8532, 78.8347)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DE9 #A9E94D
analogous
#4D5BE9 #8D4DE9 #DB4DE9
triadic
#8D4DE9 #E98D4D #4DE98D
tetradic
#8D4DE9 #E94D5B #A9E94D #4DE9DB
square
#8D4DE9 #E94D5B #A9E94D #4DE9DB
split-complementary
#8D4DE9 #E9DB4D #5BE94D
monochromatic
#5115A7 #6B1BDD #8D4DE9 #B083F0 #D3BAF6

Accessibility & contrast

On white

4.80
#8D4DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D4DE9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DE9#FFFFFF#000000##FFFFFF
##8D4DE91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#777295
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d4de9;
/* rgb */ color: rgb(141, 77, 233);
/* oklch */ color: oklch(57.8% 0.223 297.8);
Tailwind
colors: {
  custom: {
    50: '#b583f1',
    500: '#8d4de9',
    950: '#000000',
  },
}
SCSS
$custom: #8d4de9;
$custom-light: #b583f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4de9",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 264.615,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.22298,
    "h": 297.8
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#8D4DE9
secondary
#CEE6AB
accent
#DA0B85
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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