#8D3EB5#8D3EB5

#8D3EB5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.187 H 312.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D3EB5
RGBrgb(141, 62, 181)
HSLhsl(280, 49%, 48%)
HSVhsv(280, 66%, 71%)
CMYKcmyk(22.1%, 65.7%, 0%, 29%)
CIE-LABlab(41.91, 52.86, -49.12)
CIE-LCHlch(41.91, 72.16, 317.10°)
OKLaboklab(52.23% 0.1257 -0.1384)
OKLCHoklch(52.23% 0.187 312.2)
XYZxyz(21.0461, 12.4447, 45.0005)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EB5 #66B53E
analogous
#523EB5 #8D3EB5 #B53EA1
triadic
#8D3EB5 #B58D3E #3EB58D
tetradic
#8D3EB5 #B5523E #66B53E #3EA1B5
square
#8D3EB5 #B5523E #66B53E #3EA1B5
split-complementary
#8D3EB5 #A1B53E #3EB552
monochromatic
#461F5A #692E87 #8D3EB5 #A966CA #C293DA

Accessibility & contrast

On white

6.02
#8D3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8D3EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EB5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EB5#FFFFFF#000000##FFFFFF
##8D3EB51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#3465B2
Tritanopia (blue-blind)
#885674
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3eb5;
/* rgb */ color: rgb(141, 62, 181);
/* oklch */ color: oklch(52.2% 0.187 312.2);
Tailwind
colors: {
  custom: {
    50: '#b279cc',
    500: '#8d3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eb5;
$custom-light: #b279cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eb5",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 279.832,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.18696,
    "h": 312.2
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#8D3EB5
secondary
#9EC589
accent
#D94F7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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