#8D4BB7#8D4BB7

#8D4BB7 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.170 H 310.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8D4BB7
RGBrgb(141, 75, 183)
HSLhsl(277, 43%, 51%)
HSVhsv(277, 59%, 72%)
CMYKcmyk(23%, 59%, 0%, 28.2%)
CIE-LABlab(44.40, 46.88, -46.32)
CIE-LCHlch(44.40, 65.91, 315.34°)
OKLaboklab(54.07% 0.1097 -0.1303)
OKLCHoklch(54.07% 0.17 310.1)
XYZxyz(22.0462, 14.1142, 46.3535)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BB7 #75B74B
analogous
#574BB7 #8D4BB7 #B74BAB
triadic
#8D4BB7 #B78D4B #4BB78D
tetradic
#8D4BB7 #B7574B #75B74B #4BABB7
square
#8D4BB7 #B7574B #75B74B #4BABB7
split-complementary
#8D4BB7 #ABB74B #4BB757
monochromatic
#4A2761 #6C388D #8D4BB7 #A977C8 #C4A2DA

Accessibility & contrast

On white

5.49
#8D4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8D4BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BB7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BB7#FFFFFF#000000##FFFFFF
##8D4BB71.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BA
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#885F7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4bb7;
/* rgb */ color: rgb(141, 75, 183);
/* oklch */ color: oklch(54.1% 0.170 310.1);
Tailwind
colors: {
  custom: {
    50: '#b180cd',
    500: '#8d4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4bb7;
$custom-light: #b180cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4bb7",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 276.667,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.17031,
    "h": 310.1
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#8D4BB7
secondary
#AAC797
accent
#D35586
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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