#8D3AC2#8D3AC2

#8D3AC2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.205 H 308.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D3AC2
RGBrgb(141, 58, 194)
HSLhsl(277, 54%, 49%)
HSVhsv(277, 70%, 76%)
CMYKcmyk(27.3%, 70.1%, 0%, 23.9%)
CIE-LABlab(42.13, 57.52, -56.39)
CIE-LCHlch(42.13, 80.55, 315.56°)
OKLaboklab(52.66% 0.1289 -0.1597)
OKLCHoklch(52.66% 0.205 308.9)
XYZxyz(22.2332, 12.5843, 52.2862)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AC2 #6FC23A
analogous
#493AC2 #8D3AC2 #C23AB3
triadic
#8D3AC2 #C28D3A #3AC28D
tetradic
#8D3AC2 #C2493A #6FC23A #3AB3C2
square
#8D3AC2 #C2493A #6FC23A #3AB3C2
split-complementary
#8D3AC2 #B3C23A #3AC249
monochromatic
#491E64 #6B2C93 #8D3AC2 #A867D2 #C397E0

Accessibility & contrast

On white

5.97
#8D3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8D3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AC2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AC2#FFFFFF#000000##FFFFFF
##8D3AC21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1B64BF
Tritanopia (blue-blind)
#85587A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3ac2;
/* rgb */ color: rgb(141, 58, 194);
/* oklch */ color: oklch(52.7% 0.205 308.9);
Tailwind
colors: {
  custom: {
    50: '#b377d5',
    500: '#8d3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ac2;
$custom-light: #b377d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ac2",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 276.618,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52656,
    "c": 0.20523,
    "h": 308.9
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#8D3AC2
secondary
#A5CB8D
accent
#DD4A84
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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