#8D4DB2#8D4DB2

#8D4DB2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.162 H 311.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8D4DB2
RGBrgb(141, 77, 178)
HSLhsl(278, 40%, 50%)
HSVhsv(278, 57%, 70%)
CMYKcmyk(20.8%, 56.7%, 0%, 30.2%)
CIE-LABlab(44.50, 44.70, -43.23)
CIE-LCHlch(44.50, 62.18, 315.96°)
OKLaboklab(54.05% 0.1069 -0.1212)
OKLCHoklch(54.05% 0.162 311.4)
XYZxyz(21.6728, 14.1853, 43.7072)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DB2 #72B24D
analogous
#5B4DB2 #8D4DB2 #B24DA4
triadic
#8D4DB2 #B28D4D #4DB28D
tetradic
#8D4DB2 #B25B4D #72B24D #4DA4B2
square
#8D4DB2 #B25B4D #72B24D #4DA4B2
split-complementary
#8D4DB2 #A4B24D #4DB25B
monochromatic
#49285D #6B3B87 #8D4DB2 #A878C4 #C4A2D7

Accessibility & contrast

On white

5.47
#8D4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8D4DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DB2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DB2#FFFFFF#000000##FFFFFF
##8D4DB21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#456BAF
Tritanopia (blue-blind)
#895F78
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4db2;
/* rgb */ color: rgb(141, 77, 178);
/* oklch */ color: oklch(54.0% 0.162 311.4);
Tailwind
colors: {
  custom: {
    50: '#b182c9',
    500: '#8d4db2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4db2;
$custom-light: #b182c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4db2",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 278.02,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.16166,
    "h": 311.4
  },
  "luminance": 0.14185
}

Semantic roles & 50–950 ramp

primary
#8D4DB2
secondary
#A7C497
accent
#CF5884
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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