#8D4ABB#8D4ABB

#8D4ABB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.176 H 309.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D4ABB
RGBrgb(141, 74, 187)
HSLhsl(276, 45%, 51%)
HSVhsv(276, 60%, 73%)
CMYKcmyk(24.6%, 60.4%, 0%, 26.7%)
CIE-LABlab(44.45, 48.31, -48.58)
CIE-LCHlch(44.45, 68.51, 314.84°)
OKLaboklab(54.18% 0.111 -0.1369)
OKLCHoklch(54.18% 0.176 309)
XYZxyz(22.4012, 14.1485, 48.5549)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ABB #78BB4A
analogous
#544ABB #8D4ABB #BB4AB1
triadic
#8D4ABB #BB8D4A #4ABB8D
tetradic
#8D4ABB #BB544A #78BB4A #4AB1BB
square
#8D4ABB #BB544A #78BB4A #4AB1BB
split-complementary
#8D4ABB #B1BB4A #4ABB54
monochromatic
#4B2665 #6C3791 #8D4ABB #A976CC #C5A3DC

Accessibility & contrast

On white

5.48
#8D4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8D4ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ABB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ABB#FFFFFF#000000##FFFFFF
##8D4ABB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#86607B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4abb;
/* rgb */ color: rgb(141, 74, 187);
/* oklch */ color: oklch(54.2% 0.176 309.0);
Tailwind
colors: {
  custom: {
    50: '#b280d0',
    500: '#8d4abb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4abb;
$custom-light: #b280d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4abb",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 275.575,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.17623,
    "h": 309
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#8D4ABB
secondary
#ACC997
accent
#D55388
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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