#8D3AC4#8D3AC4

#8D3AC4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.207 H 308.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8D3AC4
RGBrgb(141, 58, 196)
HSLhsl(276, 54%, 50%)
HSVhsv(276, 70%, 77%)
CMYKcmyk(28.1%, 70.4%, 0%, 23.1%)
CIE-LABlab(42.27, 57.96, -57.33)
CIE-LCHlch(42.27, 81.52, 315.31°)
OKLaboklab(52.8% 0.1286 -0.1625)
OKLCHoklch(52.8% 0.207 308.4)
XYZxyz(22.4593, 12.6747, 53.4772)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AC4 #71C43A
analogous
#483AC4 #8D3AC4 #C43AB6
triadic
#8D3AC4 #C48D3A #3AC48D
tetradic
#8D3AC4 #C4483A #71C43A #3AB6C4
square
#8D3AC4 #C4483A #71C43A #3AB6C4
split-complementary
#8D3AC4 #B6C43A #3AC448
monochromatic
#491E66 #6B2C95 #8D3AC4 #A869D3 #C498E0

Accessibility & contrast

On white

5.94
#8D3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8D3AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AC4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AC4#FFFFFF#000000##FFFFFF
##8D3AC41.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1765C1
Tritanopia (blue-blind)
#84597B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3ac4;
/* rgb */ color: rgb(141, 58, 196);
/* oklch */ color: oklch(52.8% 0.207 308.4);
Tailwind
colors: {
  custom: {
    50: '#b377d7',
    500: '#8d3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ac4;
$custom-light: #b377d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ac4",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 276.087,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.20723,
    "h": 308.4
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#8D3AC4
secondary
#A7CC8E
accent
#DE4A85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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