#8D4FD1#8D4FD1

#8D4FD1 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.194 H 302.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D4FD1
RGBrgb(141, 79, 209)
HSLhsl(269, 59%, 56%)
HSVhsv(269, 62%, 82%)
CMYKcmyk(32.5%, 62.2%, 0%, 18%)
CIE-LABlab(46.79, 50.94, -57.55)
CIE-LCHlch(46.79, 76.86, 311.51°)
OKLaboklab(56.33% 0.1042 -0.1632)
OKLCHoklch(56.33% 0.194 302.6)
XYZxyz(25.2864, 15.8581, 62.0380)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FD1 #93D14F
analogous
#4F52D1 #8D4FD1 #CE4FD1
triadic
#8D4FD1 #D18D4F #4FD18D
tetradic
#8D4FD1 #D14F52 #93D14F #4FD1CE
square
#8D4FD1 #D14F52 #93D14F #4FD1CE
split-complementary
#8D4FD1 #D1CE4F #52D14F
monochromatic
#512283 #6E2FB4 #8D4FD1 #AC80DE #CCB0EA

Accessibility & contrast

On white

5.03
#8D4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8D4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FD1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FD1#FFFFFF#000000##FFFFFF
##8D4FD11.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#266ECE
Tritanopia (blue-blind)
#806B89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4fd1;
/* rgb */ color: rgb(141, 79, 209);
/* oklch */ color: oklch(56.3% 0.194 302.6);
Tailwind
colors: {
  custom: {
    50: '#b384e0',
    500: '#8d4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fd1;
$custom-light: #b384e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fd1",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 268.615,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.19366,
    "h": 302.6
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#8D4FD1
secondary
#BFD9A3
accent
#E24697
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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