#8D46C8#8D46C8

#8D46C8 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.196 H 306.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8D46C8
RGBrgb(141, 70, 200)
HSLhsl(273, 54%, 53%)
HSVhsv(273, 65%, 78%)
CMYKcmyk(29.5%, 65%, 0%, 21.6%)
CIE-LABlab(44.54, 53.32, -55.99)
CIE-LCHlch(44.54, 77.32, 313.60°)
OKLaboklab(54.51% 0.1152 -0.1586)
OKLCHoklch(54.51% 0.196 306)
XYZxyz(23.5977, 14.2134, 56.1327)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46C8 #81C846
analogous
#4C46C8 #8D46C8 #C846C2
triadic
#8D46C8 #C88D46 #46C88D
tetradic
#8D46C8 #C84C46 #81C846 #46C2C8
square
#8D46C8 #C84C46 #81C846 #46C2C8
split-complementary
#8D46C8 #C2C846 #46C84C
monochromatic
#4D2272 #6E30A1 #8D46C8 #AA75D6 #C7A4E4

Accessibility & contrast

On white

5.47
#8D46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8D46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46C8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46C8#FFFFFF#000000##FFFFFF
##8D46C81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#256AC5
Tritanopia (blue-blind)
#836281
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d46c8;
/* rgb */ color: rgb(141, 70, 200);
/* oklch */ color: oklch(54.5% 0.196 306.0);
Tailwind
colors: {
  custom: {
    50: '#b37ed9',
    500: '#8d46c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d46c8;
$custom-light: #b37ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46c8",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 272.769,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.19603,
    "h": 306
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

primary
#8D46C8
secondary
#B2D199
accent
#DE4A8D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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