#8D3ED9#8D3ED9

#8D3ED9 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.224 H 302.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8D3ED9
RGBrgb(141, 62, 217)
HSLhsl(271, 67%, 55%)
HSVhsv(271, 71%, 85%)
CMYKcmyk(35%, 71.4%, 0%, 14.9%)
CIE-LABlab(44.40, 60.98, -66.00)
CIE-LCHlch(44.40, 89.86, 312.74°)
OKLaboklab(54.79% 0.1213 -0.188)
OKLCHoklch(54.79% 0.224 302.8)
XYZxyz(25.2286, 14.1177, 67.0281)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ED9 #8AD93E
analogous
#403ED9 #8D3ED9 #D93ED7
triadic
#8D3ED9 #D98D3E #3ED98D
tetradic
#8D3ED9 #D9403E #8AD93E #3ED7D9
square
#8D3ED9 #D9403E #8AD93E #3ED7D9
split-complementary
#8D3ED9 #D7D93E #3ED940
monochromatic
#4F1A83 #6E24B6 #8D3ED9 #AB71E3 #C9A4ED

Accessibility & contrast

On white

5.49
#8D3ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8D3ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ED9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ED9#FFFFFF#000000##FFFFFF
##8D3ED91.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#7D6488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d3ed9;
/* rgb */ color: rgb(141, 62, 217);
/* oklch */ color: oklch(54.8% 0.224 302.8);
Tailwind
colors: {
  custom: {
    50: '#b47ae6',
    500: '#8d3ed9',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ed9;
$custom-light: #b47ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ed9",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 270.581,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.22372,
    "h": 302.8
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#8D3ED9
secondary
#B9DA99
accent
#EA3E92
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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