#8D4FE9#8D4FE9

#8D4FE9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.221 H 297.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D4FE9
RGBrgb(141, 79, 233)
HSLhsl(264, 78%, 61%)
HSVhsv(264, 66%, 91%)
CMYKcmyk(39.5%, 66.1%, 0%, 8.6%)
CIE-LABlab(48.43, 56.87, -68.54)
CIE-LCHlch(48.43, 89.06, 309.69°)
OKLaboklab(58.03% 0.102 -0.1955)
OKLCHoklch(58.03% 0.221 297.6)
XYZxyz(28.4847, 17.1374, 78.8821)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FE9 #ABE94F
analogous
#4F5EE9 #8D4FE9 #DA4FE9
triadic
#8D4FE9 #E98D4F #4FE98D
tetradic
#8D4FE9 #E94F5E #ABE94F #4FE9DA
square
#8D4FE9 #E94F5E #ABE94F #4FE9DA
split-complementary
#8D4FE9 #E9DA4F #5EE94F
monochromatic
#5015A9 #6A1CDF #8D4FE9 #B085F0 #D3BCF7

Accessibility & contrast

On white

4.74
#8D4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8D4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FE9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FE9#FFFFFF#000000##FFFFFF
##8D4FE91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#767396
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d4fe9;
/* rgb */ color: rgb(141, 79, 233);
/* oklch */ color: oklch(58.0% 0.221 297.6);
Tailwind
colors: {
  custom: {
    50: '#b584f1',
    500: '#8d4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fe9;
$custom-light: #b584f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fe9",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 264.156,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58032,
    "c": 0.22053,
    "h": 297.6
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#8D4FE9
secondary
#D0E7AD
accent
#DA0B87
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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