#8D37B8#8D37B8

#8D37B8 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.199 H 312.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8D37B8
RGBrgb(141, 55, 184)
HSLhsl(280, 54%, 47%)
HSVhsv(280, 70%, 72%)
CMYKcmyk(23.4%, 70.1%, 0%, 27.8%)
CIE-LABlab(40.99, 56.64, -52.38)
CIE-LCHlch(40.99, 77.15, 317.24°)
OKLaboklab(51.62% 0.1332 -0.1479)
OKLCHoklch(51.62% 0.199 312)
XYZxyz(21.0008, 11.8563, 46.5203)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37B8 #62B837
analogous
#4D37B8 #8D37B8 #B837A3
triadic
#8D37B8 #B88D37 #37B88D
tetradic
#8D37B8 #B84D37 #62B837 #37A3B8
square
#8D37B8 #B84D37 #62B837 #37A3B8
split-complementary
#8D37B8 #A3B837 #37B84D
monochromatic
#451B5A #692989 #8D37B8 #A95DCF #C28DDD

Accessibility & contrast

On white

6.23
#8D37B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8D37B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37B8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37B8#FFFFFF#000000##FFFFFF
##8D37B81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#885274
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d37b8;
/* rgb */ color: rgb(141, 55, 184);
/* oklch */ color: oklch(51.6% 0.199 312.0);
Tailwind
colors: {
  custom: {
    50: '#b275ce',
    500: '#8d37b8',
    950: '#000000',
  },
}
SCSS
$custom: #8d37b8;
$custom-light: #b275ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37b8",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 280,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.19905,
    "h": 312
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#8D37B8
secondary
#9AC784
accent
#DD4A7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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