#8D3EB6#8D3EB6

#8D3EB6 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.188 H 311.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D3EB6
RGBrgb(141, 62, 182)
HSLhsl(280, 49%, 48%)
HSVhsv(280, 66%, 71%)
CMYKcmyk(22.5%, 65.9%, 0%, 28.6%)
CIE-LABlab(41.98, 53.08, -49.61)
CIE-LCHlch(41.98, 72.65, 316.94°)
OKLaboklab(52.29% 0.1256 -0.1398)
OKLCHoklch(52.29% 0.188 311.9)
XYZxyz(21.1491, 12.4859, 45.5428)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EB6 #67B63E
analogous
#513EB6 #8D3EB6 #B63EA3
triadic
#8D3EB6 #B68D3E #3EB68D
tetradic
#8D3EB6 #B6513E #67B63E #3EA3B6
square
#8D3EB6 #B6513E #67B63E #3EA3B6
split-complementary
#8D3EB6 #A3B63E #3EB651
monochromatic
#461F5B #6A2E88 #8D3EB6 #A966CB #C294DB

Accessibility & contrast

On white

6.01
#8D3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8D3EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EB6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EB6#FFFFFF#000000##FFFFFF
##8D3EB61.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#885675
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3eb6;
/* rgb */ color: rgb(141, 62, 182);
/* oklch */ color: oklch(52.3% 0.188 311.9);
Tailwind
colors: {
  custom: {
    50: '#b279cc',
    500: '#8d3eb6',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eb6;
$custom-light: #b279cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eb6",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 279.5,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.18799,
    "h": 311.9
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#8D3EB6
secondary
#9EC68A
accent
#D94F7E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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