#8D46D9#8D46D9

#8D46D9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.214 H 301.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8D46D9
RGBrgb(141, 70, 217)
HSLhsl(269, 66%, 56%)
HSVhsv(269, 68%, 85%)
CMYKcmyk(35%, 67.7%, 0%, 14.9%)
CIE-LABlab(45.71, 57.33, -63.88)
CIE-LCHlch(45.71, 85.83, 311.91°)
OKLaboklab(55.72% 0.1134 -0.1818)
OKLCHoklch(55.72% 0.214 301.9)
XYZxyz(25.6961, 15.0527, 67.1839)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46D9 #92D946
analogous
#4649D9 #8D46D9 #D746D9
triadic
#8D46D9 #D98D46 #46D98D
tetradic
#8D46D9 #D94649 #92D946 #46D9D7
square
#8D46D9 #D94649 #92D946 #46D9D7
split-complementary
#8D46D9 #D9D746 #49D946
monochromatic
#501C89 #6E26BB #8D46D9 #AC79E3 #CCACEE

Accessibility & contrast

On white

5.24
#8D46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8D46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46D9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46D9#FFFFFF#000000##FFFFFF
##8D46D91.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#7D688A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d46d9;
/* rgb */ color: rgb(141, 70, 217);
/* oklch */ color: oklch(55.7% 0.214 301.9);
Tailwind
colors: {
  custom: {
    50: '#b47ee6',
    500: '#8d46d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d46d9;
$custom-light: #b47ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46d9",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 268.98,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.21423,
    "h": 301.9
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#8D46D9
secondary
#BEDC9F
accent
#E93F97
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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