#8D37BB#8D37BB

#8D37BB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.202 H 311.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8D37BB
RGBrgb(141, 55, 187)
HSLhsl(279, 55%, 47%)
HSVhsv(279, 71%, 73%)
CMYKcmyk(24.6%, 70.6%, 0%, 26.7%)
CIE-LABlab(41.19, 57.28, -53.82)
CIE-LCHlch(41.19, 78.60, 316.79°)
OKLaboklab(51.83% 0.1329 -0.1521)
OKLCHoklch(51.83% 0.202 311.1)
XYZxyz(21.3186, 11.9835, 48.1941)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37BB #65BB37
analogous
#4B37BB #8D37BB #BB37A7
triadic
#8D37BB #BB8D37 #37BB8D
tetradic
#8D37BB #BB4B37 #65BB37 #37A7BB
square
#8D37BB #BB4B37 #65BB37 #37A7BB
split-complementary
#8D37BB #A7BB37 #37BB4B
monochromatic
#461B5C #69298C #8D37BB #A95FD0 #C28EDE

Accessibility & contrast

On white

6.18
#8D37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37BB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37BB#FFFFFF#000000##FFFFFF
##8D37BB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#875475
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d37bb;
/* rgb */ color: rgb(141, 55, 187);
/* oklch */ color: oklch(51.8% 0.202 311.1);
Tailwind
colors: {
  custom: {
    50: '#b375d0',
    500: '#8d37bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d37bb;
$custom-light: #b375d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37bb",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 279.091,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.20199,
    "h": 311.1
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#8D37BB
secondary
#9DC985
accent
#DE4A7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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