#8D4CE6#8D4CE6

#8D4CE6 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.221 H 298.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8D4CE6
RGBrgb(141, 76, 230)
HSLhsl(265, 75%, 60%)
HSVhsv(265, 67%, 90%)
CMYKcmyk(38.7%, 67%, 0%, 9.8%)
CIE-LABlab(47.68, 57.60, -68.06)
CIE-LCHlch(47.68, 89.17, 310.24°)
OKLaboklab(57.43% 0.1055 -0.1941)
OKLCHoklch(57.43% 0.221 298.5)
XYZxyz(27.8483, 16.5444, 76.5738)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CE6 #A5E64C
analogous
#4C58E6 #8D4CE6 #DA4CE6
triadic
#8D4CE6 #E68D4C #4CE68D
tetradic
#8D4CE6 #E64C58 #A5E64C #4CE6DA
square
#8D4CE6 #E64C58 #A5E64C #4CE6DA
split-complementary
#8D4CE6 #E6DA4C #58E64C
monochromatic
#5117A1 #6C1ED7 #8D4CE6 #AF82ED #D1B7F5

Accessibility & contrast

On white

4.87
#8D4CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8D4CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CE6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CE6#FFFFFF#000000##FFFFFF
##8D4CE61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#787093
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d4ce6;
/* rgb */ color: rgb(141, 76, 230);
/* oklch */ color: oklch(57.4% 0.221 298.5);
Tailwind
colors: {
  custom: {
    50: '#b582ef',
    500: '#8d4ce6',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ce6;
$custom-light: #b582ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ce6",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 265.325,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.22091,
    "h": 298.5
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#8D4CE6
secondary
#CCE5A9
accent
#F236A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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