#8D4ADF#8D4ADF

#8D4ADF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.216 H 300.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D4ADF
RGBrgb(141, 74, 223)
HSLhsl(267, 70%, 58%)
HSVhsv(267, 67%, 87%)
CMYKcmyk(36.8%, 66.8%, 0%, 12.5%)
CIE-LABlab(46.83, 56.86, -65.48)
CIE-LCHlch(46.83, 86.72, 310.97°)
OKLaboklab(56.66% 0.1084 -0.1865)
OKLCHoklch(56.66% 0.216 300.2)
XYZxyz(26.7493, 15.8878, 71.4551)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ADF #9CDF4A
analogous
#4A51DF #8D4ADF #D84ADF
triadic
#8D4ADF #DF8D4A #4ADF8D
tetradic
#8D4ADF #DF4A51 #9CDF4A #4ADFD8
square
#8D4ADF #DF4A51 #9CDF4A #4ADFD8
split-complementary
#8D4ADF #DFD84A #51DF4A
monochromatic
#511A94 #6E23C8 #8D4ADF #AE7EE8 #CFB2F1

Accessibility & contrast

On white

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

On black

4.18
#8D4ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D4ADF#FFFFFF#000000##FFFFFF
##8D4ADF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#7B6D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4adf;
/* rgb */ color: rgb(141, 74, 223);
/* oklch */ color: oklch(56.7% 0.216 300.2);
Tailwind
colors: {
  custom: {
    50: '#b481ea',
    500: '#8d4adf',
    950: '#000000',
  },
}
SCSS
$custom: #8d4adf;
$custom-light: #b481ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4adf",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 266.98,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.21574,
    "h": 300.2
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#8D4ADF
secondary
#C5E0A5
accent
#ED3B9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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