#8D4FE6#8D4FE6

#8D4FE6 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.217 H 298.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D4FE6
RGBrgb(141, 79, 230)
HSLhsl(265, 75%, 61%)
HSVhsv(265, 66%, 90%)
CMYKcmyk(38.7%, 65.7%, 0%, 9.8%)
CIE-LABlab(48.22, 56.12, -67.19)
CIE-LCHlch(48.22, 87.55, 309.87°)
OKLaboklab(57.81% 0.1024 -0.1916)
OKLCHoklch(57.81% 0.217 298.1)
XYZxyz(28.0598, 16.9674, 76.6443)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FE6 #A8E64F
analogous
#4F5CE6 #8D4FE6 #D94FE6
triadic
#8D4FE6 #E68D4F #4FE68D
tetradic
#8D4FE6 #E64F5C #A8E64F #4FE6D9
square
#8D4FE6 #E64F5C #A8E64F #4FE6D9
split-complementary
#8D4FE6 #E6D94F #5CE64F
monochromatic
#5117A3 #6B1FD9 #8D4FE6 #B085EE #D2BAF5

Accessibility & contrast

On white

4.78
#8D4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8D4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FE6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FE6#FFFFFF#000000##FFFFFF
##8D4FE61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#787294
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d4fe6;
/* rgb */ color: rgb(141, 79, 230);
/* oklch */ color: oklch(57.8% 0.217 298.1);
Tailwind
colors: {
  custom: {
    50: '#b484ef',
    500: '#8d4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fe6;
$custom-light: #b484ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fe6",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 264.636,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.21719,
    "h": 298.1
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#8D4FE6
secondary
#CEE5AC
accent
#D70E85
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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