#8D4FE3#8D4FE3

#8D4FE3 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.214 H 298.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D4FE3
RGBrgb(141, 79, 227)
HSLhsl(265, 73%, 60%)
HSVhsv(265, 65%, 89%)
CMYKcmyk(37.9%, 65.2%, 0%, 11%)
CIE-LABlab(48.01, 55.37, -65.83)
CIE-LCHlch(48.01, 86.03, 310.07°)
OKLaboklab(57.59% 0.1027 -0.1876)
OKLCHoklch(57.59% 0.214 298.7)
XYZxyz(27.6421, 16.8004, 74.4446)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FE3 #A5E34F
analogous
#4F5BE3 #8D4FE3 #D74FE3
triadic
#8D4FE3 #E38D4F #4FE38D
tetradic
#8D4FE3 #E34F5B #A5E34F #4FE3D7
square
#8D4FE3 #E34F5B #A5E34F #4FE3D7
split-complementary
#8D4FE3 #E3D74F #5BE34F
monochromatic
#51199E #6C22D3 #8D4FE3 #AF84EB #D1B9F4

Accessibility & contrast

On white

4.82
#8D4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8D4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FE3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FE3#FFFFFF#000000##FFFFFF
##8D4FE31.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#797192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d4fe3;
/* rgb */ color: rgb(141, 79, 227);
/* oklch */ color: oklch(57.6% 0.214 298.7);
Tailwind
colors: {
  custom: {
    50: '#b484ed',
    500: '#8d4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fe3;
$custom-light: #b484ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fe3",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 265.135,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.21385,
    "h": 298.7
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#8D4FE3
secondary
#CCE3AA
accent
#EF39A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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