#8D4AC5#8D4AC5

#8D4AC5 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.187 H 306.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8D4AC5
RGBrgb(141, 74, 197)
HSLhsl(273, 51%, 53%)
HSVhsv(273, 62%, 77%)
CMYKcmyk(28.4%, 62.4%, 0%, 22.7%)
CIE-LABlab(45.07, 50.63, -53.40)
CIE-LCHlch(45.07, 73.58, 313.48°)
OKLaboklab(54.83% 0.1107 -0.151)
OKLCHoklch(54.83% 0.187 306.2)
XYZxyz(23.5092, 14.5917, 54.3905)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4AC5 #82C54A
analogous
#4F4AC5 #8D4AC5 #C54ABF
triadic
#8D4AC5 #C58D4A #4AC58D
tetradic
#8D4AC5 #C54F4A #82C54A #4ABFC5
square
#8D4AC5 #C54F4A #82C54A #4ABFC5
split-complementary
#8D4AC5 #BFC54A #4AC54F
monochromatic
#4E2471 #6E339F #8D4AC5 #AA78D4 #C7A7E3

Accessibility & contrast

On white

5.36
#8D4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8D4AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4AC5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4AC5#FFFFFF#000000##FFFFFF
##8D4AC51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#306BC2
Tritanopia (blue-blind)
#846381
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d4ac5;
/* rgb */ color: rgb(141, 74, 197);
/* oklch */ color: oklch(54.8% 0.187 306.2);
Tailwind
colors: {
  custom: {
    50: '#b280d7',
    500: '#8d4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ac5;
$custom-light: #b280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ac5",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 272.683,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.18725,
    "h": 306.2
  },
  "luminance": 0.14591
}

Semantic roles & 50–950 ramp

primary
#8D4AC5
secondary
#B3D09B
accent
#DB4D8E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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