#8D4FD4#8D4FD4

#8D4FD4 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.197 H 301.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D4FD4
RGBrgb(141, 79, 212)
HSLhsl(268, 61%, 57%)
HSVhsv(268, 63%, 83%)
CMYKcmyk(33.5%, 62.7%, 0%, 16.9%)
CIE-LABlab(46.99, 51.67, -58.95)
CIE-LCHlch(46.99, 78.39, 311.24°)
OKLaboklab(56.53% 0.104 -0.1673)
OKLCHoklch(56.53% 0.197 301.9)
XYZxyz(25.6614, 16.0081, 64.0125)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FD4 #96D44F
analogous
#4F54D4 #8D4FD4 #D04FD4
triadic
#8D4FD4 #D48D4F #4FD48D
tetradic
#8D4FD4 #D44F54 #96D44F #4FD4D0
square
#8D4FD4 #D44F54 #96D44F #4FD4D0
split-complementary
#8D4FD4 #D4D04F #54D44F
monochromatic
#512187 #6E2DB9 #8D4FD4 #AD80E0 #CDB1EC

Accessibility & contrast

On white

5.00
#8D4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8D4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FD4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FD4#FFFFFF#000000##FFFFFF
##8D4FD41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#216FD1
Tritanopia (blue-blind)
#7F6C8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4fd4;
/* rgb */ color: rgb(141, 79, 212);
/* oklch */ color: oklch(56.5% 0.197 301.9);
Tailwind
colors: {
  custom: {
    50: '#b384e2',
    500: '#8d4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fd4;
$custom-light: #b384e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fd4",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 267.97,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.19704,
    "h": 301.9
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#8D4FD4
secondary
#C1DAA4
accent
#E44499
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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