#8D4ADC#8D4ADC

#8D4ADC is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.212 H 300.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8D4ADC
RGBrgb(141, 74, 220)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 66%, 86%)
CMYKcmyk(35.9%, 66.4%, 0%, 13.7%)
CIE-LABlab(46.61, 56.13, -64.12)
CIE-LCHlch(46.61, 85.21, 311.20°)
OKLaboklab(56.44% 0.1088 -0.1825)
OKLCHoklch(56.44% 0.212 300.8)
XYZxyz(26.3484, 15.7274, 69.3438)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ADC #99DC4A
analogous
#4A50DC #8D4ADC #D64ADC
triadic
#8D4ADC #DC8D4A #4ADC8D
tetradic
#8D4ADC #DC4A50 #99DC4A #4ADCD6
square
#8D4ADC #DC4A50 #99DC4A #4ADCD6
split-complementary
#8D4ADC #DCD64A #50DC4A
monochromatic
#511C90 #6E26C3 #8D4ADC #AD7DE6 #CEB1F0

Accessibility & contrast

On white

5.07
#8D4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8D4ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ADC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ADC#FFFFFF#000000##FFFFFF
##8D4ADC1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#7C6C8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4adc;
/* rgb */ color: rgb(141, 74, 220);
/* oklch */ color: oklch(56.4% 0.212 300.8);
Tailwind
colors: {
  custom: {
    50: '#b481e8',
    500: '#8d4adc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4adc;
$custom-light: #b481e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4adc",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 267.534,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.21247,
    "h": 300.8
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#8D4ADC
secondary
#C3DEA4
accent
#EA3D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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