#8D4FE1#8D4FE1

#8D4FE1 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.212 H 299.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D4FE1
RGBrgb(141, 79, 225)
HSLhsl(265, 71%, 60%)
HSVhsv(265, 65%, 88%)
CMYKcmyk(37.3%, 64.9%, 0%, 11.8%)
CIE-LABlab(47.87, 54.88, -64.93)
CIE-LCHlch(47.87, 85.01, 310.20°)
OKLaboklab(57.45% 0.1029 -0.1849)
OKLCHoklch(57.45% 0.212 299.1)
XYZxyz(27.3677, 16.6906, 72.9993)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FE1 #A3E14F
analogous
#4F5AE1 #8D4FE1 #D64FE1
triadic
#8D4FE1 #E18D4F #4FE18D
tetradic
#8D4FE1 #E14F5A #A3E14F #4FE1D6
square
#8D4FE1 #E14F5A #A3E14F #4FE1D6
split-complementary
#8D4FE1 #E1D64F #5AE14F
monochromatic
#511A9B #6C23CF #8D4FE1 #AF83EA #D1B8F3

Accessibility & contrast

On white

4.84
#8D4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8D4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FE1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FE1#FFFFFF#000000##FFFFFF
##8D4FE11.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#7A7091
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d4fe1;
/* rgb */ color: rgb(141, 79, 225);
/* oklch */ color: oklch(57.4% 0.212 299.1);
Tailwind
colors: {
  custom: {
    50: '#b484eb',
    500: '#8d4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fe1;
$custom-light: #b484eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fe1",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 265.479,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.21163,
    "h": 299.1
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#8D4FE1
secondary
#CAE2AA
accent
#EE3AA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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