#8D3ABB#8D3ABB

#8D3ABB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.2% C 0.198 H 310.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8D3ABB
RGBrgb(141, 58, 187)
HSLhsl(279, 53%, 48%)
HSVhsv(279, 69%, 73%)
CMYKcmyk(24.6%, 69%, 0%, 26.7%)
CIE-LABlab(41.65, 55.98, -53.07)
CIE-LCHlch(41.65, 77.14, 316.53°)
OKLaboklab(52.16% 0.1297 -0.15)
OKLCHoklch(52.16% 0.198 310.9)
XYZxyz(21.4655, 12.2772, 48.2430)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ABB #68BB3A
analogous
#4D3ABB #8D3ABB #BB3AA8
triadic
#8D3ABB #BB8D3A #3ABB8D
tetradic
#8D3ABB #BB4D3A #68BB3A #3AA8BB
square
#8D3ABB #BB4D3A #68BB3A #3AA8BB
split-complementary
#8D3ABB #A8BB3A #3ABB4D
monochromatic
#471D5E #6A2C8C #8D3ABB #A863CF #C292DD

Accessibility & contrast

On white

6.08
#8D3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ABB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ABB#FFFFFF#000000##FFFFFF
##8D3ABB1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#875576
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3abb;
/* rgb */ color: rgb(141, 58, 187);
/* oklch */ color: oklch(52.2% 0.198 310.9);
Tailwind
colors: {
  custom: {
    50: '#b277d0',
    500: '#8d3abb',
    950: '#000000',
  },
}
SCSS
$custom: #8d3abb;
$custom-light: #b277d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3abb",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 278.605,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.19826,
    "h": 310.9
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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