#8D3AC5#8D3AC5

#8D3AC5 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.208 H 308.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8D3AC5
RGBrgb(141, 58, 197)
HSLhsl(276, 55%, 50%)
HSVhsv(276, 71%, 77%)
CMYKcmyk(28.4%, 70.6%, 0%, 22.7%)
CIE-LABlab(42.34, 58.18, -57.80)
CIE-LCHlch(42.34, 82.01, 315.19°)
OKLaboklab(52.87% 0.1285 -0.1639)
OKLCHoklch(52.87% 0.208 308.1)
XYZxyz(22.5735, 12.7204, 54.0786)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AC5 #72C53A
analogous
#473AC5 #8D3AC5 #C53AB8
triadic
#8D3AC5 #C58D3A #3AC58D
tetradic
#8D3AC5 #C5473A #72C53A #3AB8C5
square
#8D3AC5 #C5473A #72C53A #3AB8C5
split-complementary
#8D3AC5 #B8C53A #3AC547
monochromatic
#491E66 #6B2C96 #8D3AC5 #A869D3 #C499E1

Accessibility & contrast

On white

5.93
#8D3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8D3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AC5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AC5#FFFFFF#000000##FFFFFF
##8D3AC51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#1465C2
Tritanopia (blue-blind)
#84597C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3ac5;
/* rgb */ color: rgb(141, 58, 197);
/* oklch */ color: oklch(52.9% 0.208 308.1);
Tailwind
colors: {
  custom: {
    50: '#b377d7',
    500: '#8d3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ac5;
$custom-light: #b377d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ac5",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 275.827,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.20822,
    "h": 308.1
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#8D3AC5
secondary
#A7CD8E
accent
#DE4A86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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