#8D37D3#8D37D3

#8D37D3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.225 H 304.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8D37D3
RGBrgb(141, 55, 211)
HSLhsl(273, 64%, 52%)
HSVhsv(273, 74%, 83%)
CMYKcmyk(33.2%, 73.9%, 0%, 17.3%)
CIE-LABlab(42.91, 62.57, -64.97)
CIE-LCHlch(42.91, 90.20, 313.92°)
OKLaboklab(53.6% 0.1289 -0.1849)
OKLCHoklch(53.6% 0.225 304.9)
XYZxyz(24.1059, 13.0984, 62.8737)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37D3 #7DD337
analogous
#3F37D3 #8D37D3 #D337CB
triadic
#8D37D3 #D38D37 #37D38D
tetradic
#8D37D3 #D33F37 #7DD337 #37CBD3
square
#8D37D3 #D33F37 #7DD337 #37CBD3
split-complementary
#8D37D3 #CBD337 #37D33F
monochromatic
#4D1A76 #6D25A8 #8D37D3 #AA69DE #C69BE9

Accessibility & contrast

On white

5.80
#8D37D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8D37D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37D3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37D3#FFFFFF#000000##FFFFFF
##8D37D31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#805E83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d37d3;
/* rgb */ color: rgb(141, 55, 211);
/* oklch */ color: oklch(53.6% 0.225 304.9);
Tailwind
colors: {
  custom: {
    50: '#b476e1',
    500: '#8d37d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d37d3;
$custom-light: #b476e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37d3",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 273.077,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.22545,
    "h": 304.9
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#8D37D3
secondary
#AFD591
accent
#E7418B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D37D3

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

Preview Lab → · Contrast checker → · Palette generator →

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