#8D4BB1#8D4BB1

#8D4BB1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.164 H 312.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D4BB1
RGBrgb(141, 75, 177)
HSLhsl(279, 40%, 49%)
HSVhsv(279, 58%, 69%)
CMYKcmyk(20.3%, 57.6%, 0%, 30.6%)
CIE-LABlab(44.05, 45.53, -43.36)
CIE-LCHlch(44.05, 62.87, 316.40°)
OKLaboklab(53.7% 0.1096 -0.1216)
OKLCHoklch(53.7% 0.164 312)
XYZxyz(21.4350, 13.8697, 43.1344)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BB1 #6FB14B
analogous
#5A4BB1 #8D4BB1 #B14BA2
triadic
#8D4BB1 #B18D4B #4BB18D
tetradic
#8D4BB1 #B15A4B #6FB14B #4BA2B1
square
#8D4BB1 #B15A4B #6FB14B #4BA2B1
split-complementary
#8D4BB1 #A2B14B #4BB15A
monochromatic
#49275B #6B3986 #8D4BB1 #A875C4 #C3A0D7

Accessibility & contrast

On white

5.56
#8D4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8D4BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BB1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BB1#FFFFFF#000000##FFFFFF
##8D4BB11.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#446AAE
Tritanopia (blue-blind)
#895D77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4bb1;
/* rgb */ color: rgb(141, 75, 177);
/* oklch */ color: oklch(53.7% 0.164 312.0);
Tailwind
colors: {
  custom: {
    50: '#b180c9',
    500: '#8d4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4bb1;
$custom-light: #b180c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4bb1",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 278.824,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.16368,
    "h": 312
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#8D4BB1
secondary
#A5C394
accent
#D05782
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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