#8D46C1#8D46C1

#8D46C1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.189 H 307.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D46C1
RGBrgb(141, 70, 193)
HSLhsl(275, 50%, 52%)
HSVhsv(275, 64%, 76%)
CMYKcmyk(26.9%, 63.7%, 0%, 24.3%)
CIE-LABlab(44.08, 51.70, -52.67)
CIE-LCHlch(44.08, 73.80, 314.47°)
OKLaboklab(54.03% 0.1157 -0.1488)
OKLCHoklch(54.03% 0.189 307.8)
XYZxyz(22.7983, 13.8936, 51.9224)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46C1 #7AC146
analogous
#5046C1 #8D46C1 #C146B8
triadic
#8D46C1 #C18D46 #46C18D
tetradic
#8D46C1 #C15046 #7AC146 #46B8C1
square
#8D46C1 #C15046 #7AC146 #46B8C1
split-complementary
#8D46C1 #B8C146 #46C150
monochromatic
#4C2369 #6D3397 #8D46C1 #A974D0 #C5A2E0

Accessibility & contrast

On white

5.56
#8D46C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8D46C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46C1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46C1#FFFFFF#000000##FFFFFF
##8D46C11.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#2F69BE
Tritanopia (blue-blind)
#855F7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d46c1;
/* rgb */ color: rgb(141, 70, 193);
/* oklch */ color: oklch(54.0% 0.189 307.8);
Tailwind
colors: {
  custom: {
    50: '#b27ed4',
    500: '#8d46c1',
    950: '#000000',
  },
}
SCSS
$custom: #8d46c1;
$custom-light: #b27ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46c1",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 274.634,
    "s": 49.798,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54034,
    "c": 0.1885,
    "h": 307.8
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#8D46C1
secondary
#ADCC96
accent
#D94E89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D46C1

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

Preview Lab → · Contrast checker → · Palette generator →

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