#8D3AC6#8D3AC6

#8D3AC6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.209 H 307.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8D3AC6
RGBrgb(141, 58, 198)
HSLhsl(276, 55%, 50%)
HSVhsv(276, 71%, 78%)
CMYKcmyk(28.8%, 70.7%, 0%, 22.4%)
CIE-LABlab(42.41, 58.40, -58.27)
CIE-LCHlch(42.41, 82.50, 315.06°)
OKLaboklab(52.94% 0.1283 -0.1652)
OKLCHoklch(52.94% 0.209 307.8)
XYZxyz(22.6885, 12.7664, 54.6841)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AC6 #73C63A
analogous
#473AC6 #8D3AC6 #C63AB9
triadic
#8D3AC6 #C68D3A #3AC68D
tetradic
#8D3AC6 #C6473A #73C63A #3AB9C6
square
#8D3AC6 #C6473A #73C63A #3AB9C6
split-complementary
#8D3AC6 #B9C63A #3AC647
monochromatic
#4A1E68 #6B2C97 #8D3AC6 #A869D4 #C499E1

Accessibility & contrast

On white

5.91
#8D3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8D3AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AC6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AC6#FFFFFF#000000##FFFFFF
##8D3AC61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#1165C3
Tritanopia (blue-blind)
#845A7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3ac6;
/* rgb */ color: rgb(141, 58, 198);
/* oklch */ color: oklch(52.9% 0.209 307.8);
Tailwind
colors: {
  custom: {
    50: '#b377d8',
    500: '#8d3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ac6;
$custom-light: #b377d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ac6",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 275.571,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52943,
    "c": 0.20922,
    "h": 307.8
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#8D3AC6
secondary
#A8CD8F
accent
#DE4986
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8D3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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