#8D3ABA#8D3ABA

#8D3ABA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.1% C 0.197 H 311.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D3ABA
RGBrgb(141, 58, 186)
HSLhsl(279, 52%, 48%)
HSVhsv(279, 69%, 73%)
CMYKcmyk(24.2%, 68.8%, 0%, 27.1%)
CIE-LABlab(41.59, 55.77, -52.59)
CIE-LCHlch(41.59, 76.65, 316.68°)
OKLaboklab(52.1% 0.1298 -0.1486)
OKLCHoklch(52.1% 0.197 311.1)
XYZxyz(21.3588, 12.2345, 47.6812)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ABA #67BA3A
analogous
#4D3ABA #8D3ABA #BA3AA7
triadic
#8D3ABA #BA8D3A #3ABA8D
tetradic
#8D3ABA #BA4D3A #67BA3A #3AA7BA
square
#8D3ABA #BA4D3A #67BA3A #3AA7BA
split-complementary
#8D3ABA #A7BA3A #3ABA4D
monochromatic
#461D5D #6A2B8B #8D3ABA #A963CE #C292DD

Accessibility & contrast

On white

6.09
#8D3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8D3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ABA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ABA#FFFFFF#000000##FFFFFF
##8D3ABA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#875576
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3aba;
/* rgb */ color: rgb(141, 58, 186);
/* oklch */ color: oklch(52.1% 0.197 311.1);
Tailwind
colors: {
  custom: {
    50: '#b277cf',
    500: '#8d3aba',
    950: '#000000',
  },
}
SCSS
$custom: #8d3aba;
$custom-light: #b277cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3aba",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 278.906,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.19726,
    "h": 311.1
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#8D3ABA
secondary
#9EC888
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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