#8D4DAF#8D4DAF

#8D4DAF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.158 H 312.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D4DAF
RGBrgb(141, 77, 175)
HSLhsl(279, 39%, 49%)
HSVhsv(279, 56%, 69%)
CMYKcmyk(19.4%, 56%, 0%, 31.4%)
CIE-LABlab(44.33, 44.03, -41.73)
CIE-LCHlch(44.33, 60.66, 316.53°)
OKLaboklab(53.87% 0.1068 -0.1169)
OKLCHoklch(53.87% 0.158 312.4)
XYZxyz(21.3749, 14.0661, 42.1382)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DAF #6FAF4D
analogous
#5C4DAF #8D4DAF #AF4DA0
triadic
#8D4DAF #AF8D4D #4DAF8D
tetradic
#8D4DAF #AF5C4D #6FAF4D #4DA0AF
square
#8D4DAF #AF5C4D #6FAF4D #4DA0AF
split-complementary
#8D4DAF #A0AF4D #4DAF5C
monochromatic
#49285A #6B3A85 #8D4DAF #A876C3 #C3A1D6

Accessibility & contrast

On white

5.51
#8D4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8D4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DAF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DAF#FFFFFF#000000##FFFFFF
##8D4DAF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#486AAD
Tritanopia (blue-blind)
#895E77
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4daf;
/* rgb */ color: rgb(141, 77, 175);
/* oklch */ color: oklch(53.9% 0.158 312.4);
Tailwind
colors: {
  custom: {
    50: '#b181c7',
    500: '#8d4daf',
    950: '#000000',
  },
}
SCSS
$custom: #8d4daf;
$custom-light: #b181c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4daf",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 279.184,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.15832,
    "h": 312.4
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#8D4DAF
secondary
#A5C395
accent
#CF5982
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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