#8D46CB#8D46CB

#8D46CB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.199 H 305.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8D46CB
RGBrgb(141, 70, 203)
HSLhsl(272, 56%, 54%)
HSVhsv(272, 66%, 80%)
CMYKcmyk(30.5%, 65.5%, 0%, 20.4%)
CIE-LABlab(44.74, 54.02, -57.40)
CIE-LCHlch(44.74, 78.82, 313.26°)
OKLaboklab(54.72% 0.1149 -0.1628)
OKLCHoklch(54.72% 0.199 305.2)
XYZxyz(23.9518, 14.3550, 57.9973)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46CB #84CB46
analogous
#4A46CB #8D46CB #CB46C6
triadic
#8D46CB #CB8D46 #46CB8D
tetradic
#8D46CB #CB4A46 #84CB46 #46C6CB
square
#8D46CB #CB4A46 #84CB46 #46C6CB
split-complementary
#8D46CB #C6CB46 #46CB4A
monochromatic
#4E2176 #6E2EA5 #8D46CB #AA76D8 #C8A6E6

Accessibility & contrast

On white

5.42
#8D46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8D46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46CB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46CB#FFFFFF#000000##FFFFFF
##8D46CB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#826383
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d46cb;
/* rgb */ color: rgb(141, 70, 203);
/* oklch */ color: oklch(54.7% 0.199 305.2);
Tailwind
colors: {
  custom: {
    50: '#b37edc',
    500: '#8d46cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d46cb;
$custom-light: #b37edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46cb",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 272.03,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.19925,
    "h": 305.2
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#8D46CB
secondary
#B4D39A
accent
#DF488F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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