#8D4FD8#8D4FD8

#8D4FD8 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.202 H 301.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D4FD8
RGBrgb(141, 79, 216)
HSLhsl(267, 64%, 58%)
HSVhsv(267, 63%, 85%)
CMYKcmyk(34.7%, 63.4%, 0%, 15.3%)
CIE-LABlab(47.25, 52.65, -60.81)
CIE-LCHlch(47.25, 80.43, 310.89°)
OKLaboklab(56.81% 0.1037 -0.1728)
OKLCHoklch(56.81% 0.202 301)
XYZxyz(26.1722, 16.2124, 66.7029)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FD8 #9AD84F
analogous
#4F56D8 #8D4FD8 #D14FD8
triadic
#8D4FD8 #D88D4F #4FD88D
tetradic
#8D4FD8 #D84F56 #9AD84F #4FD8D1
square
#8D4FD8 #D84F56 #9AD84F #4FD8D1
split-complementary
#8D4FD8 #D8D14F #56D84F
monochromatic
#511F8D #6E2ABF #8D4FD8 #AD81E3 #CEB3EE

Accessibility & contrast

On white

4.95
#8D4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8D4FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FD8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FD8#FFFFFF#000000##FFFFFF
##8D4FD81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#176FD5
Tritanopia (blue-blind)
#7D6D8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4fd8;
/* rgb */ color: rgb(141, 79, 216);
/* oklch */ color: oklch(56.8% 0.202 301.0);
Tailwind
colors: {
  custom: {
    50: '#b384e5',
    500: '#8d4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fd8;
$custom-light: #b384e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fd8",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 267.153,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.20154,
    "h": 301
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#8D4FD8
secondary
#C4DDA6
accent
#E7419C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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