#8D37DA#8D37DA

#8D37DA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.232 H 303.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8D37DA
RGBrgb(141, 55, 218)
HSLhsl(272, 69%, 54%)
HSVhsv(272, 75%, 85%)
CMYKcmyk(35.3%, 74.8%, 0%, 14.5%)
CIE-LABlab(43.44, 64.15, -68.13)
CIE-LCHlch(43.44, 93.57, 313.28°)
OKLaboklab(54.14% 0.1275 -0.1942)
OKLCHoklch(54.14% 0.232 303.3)
XYZxyz(25.0026, 13.4571, 67.5963)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37DA #84DA37
analogous
#3B37DA #8D37DA #DA37D6
triadic
#8D37DA #DA8D37 #37DA8D
tetradic
#8D37DA #DA3B37 #84DA37 #37D6DA
square
#8D37DA #DA3B37 #84DA37 #37D6DA
split-complementary
#8D37DA #D6DA37 #37DA3B
monochromatic
#4E187F #6E21B3 #8D37DA #AA6BE4 #C89EED

Accessibility & contrast

On white

5.69
#8D37DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8D37DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37DA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37DA#FFFFFF#000000##FFFFFF
##8D37DA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#7D6087
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d37da;
/* rgb */ color: rgb(141, 55, 218);
/* oklch */ color: oklch(54.1% 0.232 303.3);
Tailwind
colors: {
  custom: {
    50: '#b576e6',
    500: '#8d37da',
    950: '#000000',
  },
}
SCSS
$custom: #8d37da;
$custom-light: #b576e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37da",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 271.656,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.23229,
    "h": 303.3
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#8D37DA
secondary
#B4D993
accent
#EC3C8F
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D37DA

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

Preview Lab → · Contrast checker → · Palette generator →

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