#8D3BD9#8D3BD9

#8D3BD9 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.227 H 303.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8D3BD9
RGBrgb(141, 59, 217)
HSLhsl(271, 68%, 54%)
HSVhsv(271, 73%, 85%)
CMYKcmyk(35%, 72.8%, 0%, 14.9%)
CIE-LABlab(43.95, 62.27, -66.74)
CIE-LCHlch(43.95, 91.28, 313.02°)
OKLaboklab(54.47% 0.1241 -0.1901)
OKLCHoklch(54.47% 0.227 303.1)
XYZxyz(25.0699, 13.8004, 66.9752)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3BD9 #87D93B
analogous
#3E3BD9 #8D3BD9 #D93BD6
triadic
#8D3BD9 #D98D3B #3BD98D
tetradic
#8D3BD9 #D93E3B #87D93B #3BD6D9
square
#8D3BD9 #D93E3B #87D93B #3BD6D9
split-complementary
#8D3BD9 #D6D93B #3BD93E
monochromatic
#4F1981 #6E23B4 #8D3BD9 #AB6EE3 #C9A2ED

Accessibility & contrast

On white

5.59
#8D3BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8D3BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3BD9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3BD9#FFFFFF#000000##FFFFFF
##8D3BD91.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#7E6287
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d3bd9;
/* rgb */ color: rgb(141, 59, 217);
/* oklch */ color: oklch(54.5% 0.227 303.1);
Tailwind
colors: {
  custom: {
    50: '#b478e6',
    500: '#8d3bd9',
    950: '#000000',
  },
}
SCSS
$custom: #8d3bd9;
$custom-light: #b478e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3bd9",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 271.139,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.22706,
    "h": 303.1
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#8D3BD9
secondary
#B7DA96
accent
#EA3D91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D3BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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