#8D46D1#8D46D1

#8D46D1 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.206 H 303.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8D46D1
RGBrgb(141, 70, 209)
HSLhsl(271, 60%, 55%)
HSVhsv(271, 67%, 82%)
CMYKcmyk(32.5%, 66.5%, 0%, 18%)
CIE-LABlab(45.15, 55.43, -60.20)
CIE-LCHlch(45.15, 81.83, 312.64°)
OKLaboklab(55.14% 0.1143 -0.171)
OKLCHoklch(55.14% 0.206 303.8)
XYZxyz(24.6807, 14.6465, 61.8361)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46D1 #8AD146
analogous
#4746D1 #8D46D1 #D146D0
triadic
#8D46D1 #D18D46 #46D18D
tetradic
#8D46D1 #D14746 #8AD146 #46D0D1
square
#8D46D1 #D14746 #8AD146 #46D0D1
split-complementary
#8D46D1 #D0D146 #46D147
monochromatic
#4F1F7D #6E2BAE #8D46D1 #AB77DD #C9A8E9

Accessibility & contrast

On white

5.34
#8D46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8D46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46D1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46D1#FFFFFF#000000##FFFFFF
##8D46D11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#106BCE
Tritanopia (blue-blind)
#806586
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d46d1;
/* rgb */ color: rgb(141, 70, 209);
/* oklch */ color: oklch(55.1% 0.206 303.8);
Tailwind
colors: {
  custom: {
    50: '#b37ee0',
    500: '#8d46d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d46d1;
$custom-light: #b37ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46d1",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 270.647,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55141,
    "c": 0.20568,
    "h": 303.8
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#8D46D1
secondary
#B9D79C
accent
#E34492
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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