#8D4FE2#8D4FE2

#8D4FE2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.213 H 298.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D4FE2
RGBrgb(141, 79, 226)
HSLhsl(265, 72%, 60%)
HSVhsv(265, 65%, 89%)
CMYKcmyk(37.6%, 65%, 0%, 11.4%)
CIE-LABlab(47.94, 55.13, -65.38)
CIE-LCHlch(47.94, 85.52, 310.14°)
OKLaboklab(57.52% 0.1028 -0.1862)
OKLCHoklch(57.52% 0.213 298.9)
XYZxyz(27.5045, 16.7453, 73.7199)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FE2 #A4E24F
analogous
#4F5BE2 #8D4FE2 #D64FE2
triadic
#8D4FE2 #E28D4F #4FE28D
tetradic
#8D4FE2 #E24F5B #A4E24F #4FE2D6
square
#8D4FE2 #E24F5B #A4E24F #4FE2D6
split-complementary
#8D4FE2 #E2D64F #5BE24F
monochromatic
#511A9D #6C22D1 #8D4FE2 #AF84EB #D1B8F3

Accessibility & contrast

On white

4.83
#8D4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8D4FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FE2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FE2#FFFFFF#000000##FFFFFF
##8D4FE21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#797192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d4fe2;
/* rgb */ color: rgb(141, 79, 226);
/* oklch */ color: oklch(57.5% 0.213 298.9);
Tailwind
colors: {
  custom: {
    50: '#b484ec',
    500: '#8d4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fe2;
$custom-light: #b484ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fe2",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 265.306,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5752,
    "c": 0.21274,
    "h": 298.9
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#8D4FE2
secondary
#CBE3AA
accent
#EE39A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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