#8D46DC#8D46DC

#8D46DC is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.217 H 301.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D46DC
RGBrgb(141, 70, 220)
HSLhsl(268, 68%, 57%)
HSVhsv(268, 68%, 86%)
CMYKcmyk(35.9%, 68.2%, 0%, 13.7%)
CIE-LABlab(45.92, 58.05, -65.24)
CIE-LCHlch(45.92, 87.33, 311.66°)
OKLaboklab(55.94% 0.1129 -0.1858)
OKLCHoklch(55.94% 0.217 301.3)
XYZxyz(26.0898, 15.2102, 69.2576)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46DC #95DC46
analogous
#464ADC #8D46DC #D846DC
triadic
#8D46DC #DC8D46 #46DC8D
tetradic
#8D46DC #DC464A #95DC46 #46DCD8
square
#8D46DC #DC464A #95DC46 #46DCD8
split-complementary
#8D46DC #DCD846 #4ADC46
monochromatic
#511B8D #6E24C0 #8D46DC #AD79E6 #CCADEF

Accessibility & contrast

On white

5.20
#8D46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8D46DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46DC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46DC#FFFFFF#000000##FFFFFF
##8D46DC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#7C698C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d46dc;
/* rgb */ color: rgb(141, 70, 220);
/* oklch */ color: oklch(55.9% 0.217 301.3);
Tailwind
colors: {
  custom: {
    50: '#b47ee8',
    500: '#8d46dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d46dc;
$custom-light: #b47ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46dc",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 268.4,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.21743,
    "h": 301.3
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#8D46DC
secondary
#C1DDA0
accent
#EB3D99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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