#8D46D6#8D46D6

#8D46D6 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.211 H 302.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8D46D6
RGBrgb(141, 70, 214)
HSLhsl(270, 64%, 56%)
HSVhsv(270, 67%, 84%)
CMYKcmyk(34.1%, 67.3%, 0%, 16.1%)
CIE-LABlab(45.49, 56.61, -62.51)
CIE-LCHlch(45.49, 84.33, 312.17°)
OKLaboklab(55.5% 0.1137 -0.1778)
OKLCHoklch(55.5% 0.211 302.6)
XYZxyz(25.3094, 14.8980, 65.1475)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46D6 #8FD646
analogous
#4647D6 #8D46D6 #D546D6
triadic
#8D46D6 #D68D46 #46D68D
tetradic
#8D46D6 #D64647 #8FD646 #46D6D5
square
#8D46D6 #D64647 #8FD646 #46D6D5
split-complementary
#8D46D6 #D6D546 #47D646
monochromatic
#501D84 #6E28B6 #8D46D6 #AC78E1 #CBAAEC

Accessibility & contrast

On white

5.28
#8D46D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D46D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46D6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46D6#FFFFFF#000000##FFFFFF
##8D46D61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#7E6788
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d46d6;
/* rgb */ color: rgb(141, 70, 214);
/* oklch */ color: oklch(55.5% 0.211 302.6);
Tailwind
colors: {
  custom: {
    50: '#b47ee3',
    500: '#8d46d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d46d6;
$custom-light: #b47ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46d6",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 269.583,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.555,
    "c": 0.21103,
    "h": 302.6
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#8D46D6
secondary
#BCDA9E
accent
#E74195
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D46D6

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

Preview Lab → · Contrast checker → · Palette generator →

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