#8D46BC#8D46BC

#8D46BC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.183 H 309.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8D46BC
RGBrgb(141, 70, 188)
HSLhsl(276, 47%, 51%)
HSVhsv(276, 63%, 74%)
CMYKcmyk(25%, 62.8%, 0%, 26.3%)
CIE-LABlab(43.76, 50.56, -50.26)
CIE-LCHlch(43.76, 71.29, 315.17°)
OKLaboklab(53.7% 0.1159 -0.1418)
OKLCHoklch(53.7% 0.183 309.3)
XYZxyz(22.2500, 13.6743, 49.0345)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46BC #75BC46
analogous
#5246BC #8D46BC #BC46B0
triadic
#8D46BC #BC8D46 #46BC8D
tetradic
#8D46BC #BC5246 #75BC46 #46B0BC
square
#8D46BC #BC5246 #75BC46 #46B0BC
split-complementary
#8D46BC #B0BC46 #46BC52
monochromatic
#4A2464 #6C3490 #8D46BC #A973CC #C4A0DD

Accessibility & contrast

On white

5.62
#8D46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8D46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46BC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46BC#FFFFFF#000000##FFFFFF
##8D46BC1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764C0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#865D7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d46bc;
/* rgb */ color: rgb(141, 70, 188);
/* oklch */ color: oklch(53.7% 0.183 309.3);
Tailwind
colors: {
  custom: {
    50: '#b27ed1',
    500: '#8d46bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d46bc;
$custom-light: #b27ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46bc",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 276.102,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.18313,
    "h": 309.3
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#8D46BC
secondary
#AAC995
accent
#D65186
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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