#8D46C2#8D46C2

#8D46C2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.190 H 307.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8D46C2
RGBrgb(141, 70, 194)
HSLhsl(274, 50%, 52%)
HSVhsv(274, 64%, 76%)
CMYKcmyk(27.3%, 63.9%, 0%, 23.9%)
CIE-LABlab(44.14, 51.93, -53.14)
CIE-LCHlch(44.14, 74.30, 314.34°)
OKLaboklab(54.1% 0.1156 -0.1503)
OKLCHoklch(54.1% 0.19 307.6)
XYZxyz(22.9103, 13.9384, 52.5119)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46C2 #7BC246
analogous
#4F46C2 #8D46C2 #C246B9
triadic
#8D46C2 #C28D46 #46C28D
tetradic
#8D46C2 #C24F46 #7BC246 #46B9C2
square
#8D46C2 #C24F46 #7BC246 #46B9C2
split-complementary
#8D46C2 #B9C246 #46C24F
monochromatic
#4C236A #6D3299 #8D46C2 #A974D1 #C6A2E0

Accessibility & contrast

On white

5.54
#8D46C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8D46C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46C2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46C2#FFFFFF#000000##FFFFFF
##8D46C21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#85607E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d46c2;
/* rgb */ color: rgb(141, 70, 194);
/* oklch */ color: oklch(54.1% 0.190 307.6);
Tailwind
colors: {
  custom: {
    50: '#b27ed5',
    500: '#8d46c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d46c2;
$custom-light: #b27ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46c2",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 274.355,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.18958,
    "h": 307.6
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#8D46C2
secondary
#AECD97
accent
#DA4E8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D46C2

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

Preview Lab → · Contrast checker → · Palette generator →

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