#8D3AC1#8D3AC1

#8D3AC1 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.204 H 309.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8D3AC1
RGBrgb(141, 58, 193)
HSLhsl(277, 54%, 49%)
HSVhsv(277, 70%, 76%)
CMYKcmyk(26.9%, 69.9%, 0%, 24.3%)
CIE-LABlab(42.06, 57.30, -55.92)
CIE-LCHlch(42.06, 80.06, 315.70°)
OKLaboklab(52.59% 0.129 -0.1583)
OKLCHoklch(52.59% 0.204 309.2)
XYZxyz(22.1213, 12.5395, 51.6968)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AC1 #6EC13A
analogous
#4A3AC1 #8D3AC1 #C13AB2
triadic
#8D3AC1 #C18D3A #3AC18D
tetradic
#8D3AC1 #C14A3A #6EC13A #3AB2C1
square
#8D3AC1 #C14A3A #6EC13A #3AB2C1
split-complementary
#8D3AC1 #B2C13A #3AC14A
monochromatic
#481E63 #6B2C92 #8D3AC1 #A867D1 #C396DF

Accessibility & contrast

On white

5.99
#8D3AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8D3AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AC1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AC1#FFFFFF#000000##FFFFFF
##8D3AC11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#1E64BE
Tritanopia (blue-blind)
#855879
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3ac1;
/* rgb */ color: rgb(141, 58, 193);
/* oklch */ color: oklch(52.6% 0.204 309.2);
Tailwind
colors: {
  custom: {
    50: '#b377d4',
    500: '#8d3ac1',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ac1;
$custom-light: #b377d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ac1",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 276.889,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.20424,
    "h": 309.2
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#8D3AC1
secondary
#A4CB8C
accent
#DD4B83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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