#8D4BB2#8D4BB2

#8D4BB2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.165 H 311.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D4BB2
RGBrgb(141, 75, 178)
HSLhsl(278, 41%, 50%)
HSVhsv(278, 58%, 70%)
CMYKcmyk(20.8%, 57.9%, 0%, 30.2%)
CIE-LABlab(44.10, 45.75, -43.86)
CIE-LCHlch(44.10, 63.38, 316.21°)
OKLaboklab(53.76% 0.1096 -0.1231)
OKLCHoklch(53.76% 0.165 311.7)
XYZxyz(21.5350, 13.9097, 43.6613)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BB2 #70B24B
analogous
#5A4BB2 #8D4BB2 #B24BA3
triadic
#8D4BB2 #B28D4B #4BB28D
tetradic
#8D4BB2 #B25A4B #70B24B #4BA3B2
square
#8D4BB2 #B25A4B #70B24B #4BA3B2
split-complementary
#8D4BB2 #A3B24B #4BB25A
monochromatic
#49275C #6B3987 #8D4BB2 #A875C5 #C3A0D7

Accessibility & contrast

On white

5.55
#8D4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8D4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BB2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BB2#FFFFFF#000000##FFFFFF
##8D4BB21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#436AAF
Tritanopia (blue-blind)
#895D77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4bb2;
/* rgb */ color: rgb(141, 75, 178);
/* oklch */ color: oklch(53.8% 0.165 311.7);
Tailwind
colors: {
  custom: {
    50: '#b180c9',
    500: '#8d4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4bb2;
$custom-light: #b180c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4bb2",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 278.447,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53756,
    "c": 0.16478,
    "h": 311.7
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#8D4BB2
secondary
#A6C495
accent
#D15783
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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