#8D37B9#8D37B9

#8D37B9 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.200 H 311.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8D37B9
RGBrgb(141, 55, 185)
HSLhsl(280, 54%, 47%)
HSVhsv(280, 70%, 73%)
CMYKcmyk(23.8%, 70.3%, 0%, 27.5%)
CIE-LABlab(41.05, 56.86, -52.86)
CIE-LCHlch(41.05, 77.63, 317.09°)
OKLaboklab(51.69% 0.1331 -0.1493)
OKLCHoklch(51.69% 0.2 311.7)
XYZxyz(21.1060, 11.8984, 47.0743)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37B9 #63B937
analogous
#4C37B9 #8D37B9 #B937A4
triadic
#8D37B9 #B98D37 #37B98D
tetradic
#8D37B9 #B94C37 #63B937 #37A4B9
square
#8D37B9 #B94C37 #63B937 #37A4B9
split-complementary
#8D37B9 #A4B937 #37B94C
monochromatic
#451B5B #69298A #8D37B9 #A95ECF #C28DDD

Accessibility & contrast

On white

6.21
#8D37B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8D37B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37B9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37B9#FFFFFF#000000##FFFFFF
##8D37B91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#2762B6
Tritanopia (blue-blind)
#885374
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d37b9;
/* rgb */ color: rgb(141, 55, 185);
/* oklch */ color: oklch(51.7% 0.200 311.7);
Tailwind
colors: {
  custom: {
    50: '#b275cf',
    500: '#8d37b9',
    950: '#000000',
  },
}
SCSS
$custom: #8d37b9;
$custom-light: #b275cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37b9",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 279.692,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.20003,
    "h": 311.7
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#8D37B9
secondary
#9BC884
accent
#DE4A7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D37B9

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

Preview Lab → · Contrast checker → · Palette generator →

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