#8D46C7#8D46C7

#8D46C7 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.195 H 306.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D46C7
RGBrgb(141, 70, 199)
HSLhsl(273, 54%, 53%)
HSVhsv(273, 65%, 78%)
CMYKcmyk(29.1%, 64.8%, 0%, 22%)
CIE-LABlab(44.47, 53.08, -55.52)
CIE-LCHlch(44.47, 76.81, 313.72°)
OKLaboklab(54.44% 0.1153 -0.1572)
OKLCHoklch(54.44% 0.195 306.2)
XYZxyz(23.4813, 14.1668, 55.5192)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46C7 #80C746
analogous
#4C46C7 #8D46C7 #C746C1
triadic
#8D46C7 #C78D46 #46C78D
tetradic
#8D46C7 #C74C46 #80C746 #46C1C7
square
#8D46C7 #C74C46 #80C746 #46C1C7
split-complementary
#8D46C7 #C1C746 #46C74C
monochromatic
#4D2271 #6E30A0 #8D46C7 #AA75D5 #C7A4E3

Accessibility & contrast

On white

5.48
#8D46C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8D46C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46C7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46C7#FFFFFF#000000##FFFFFF
##8D46C71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#276AC4
Tritanopia (blue-blind)
#836180
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d46c7;
/* rgb */ color: rgb(141, 70, 199);
/* oklch */ color: oklch(54.4% 0.195 306.2);
Tailwind
colors: {
  custom: {
    50: '#b27ed9',
    500: '#8d46c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d46c7;
$custom-light: #b27ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46c7",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 273.023,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54441,
    "c": 0.19495,
    "h": 306.2
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#8D46C7
secondary
#B2D098
accent
#DD4B8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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