#8D37B2#8D37B2

#8D37B2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.193 H 313.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D37B2
RGBrgb(141, 55, 178)
HSLhsl(282, 53%, 46%)
HSVhsv(282, 69%, 70%)
CMYKcmyk(20.8%, 69.1%, 0%, 30.2%)
CIE-LABlab(40.59, 55.37, -49.48)
CIE-LCHlch(40.59, 74.26, 318.21°)
OKLaboklab(51.21% 0.1338 -0.1394)
OKLCHoklch(51.21% 0.193 313.8)
XYZxyz(20.3852, 11.6101, 43.2780)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37B2 #5CB237
analogous
#4F37B2 #8D37B2 #B23799
triadic
#8D37B2 #B28D37 #37B28D
tetradic
#8D37B2 #B24F37 #5CB237 #3799B2
square
#8D37B2 #B24F37 #5CB237 #3799B2
split-complementary
#8D37B2 #99B237 #37B24F
monochromatic
#431A54 #682983 #8D37B2 #AA5ACC #C289DB

Accessibility & contrast

On white

6.32
#8D37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37B2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37B2#FFFFFF#000000##FFFFFF
##8D37B21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3062AF
Tritanopia (blue-blind)
#895070
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d37b2;
/* rgb */ color: rgb(141, 55, 178);
/* oklch */ color: oklch(51.2% 0.193 313.8);
Tailwind
colors: {
  custom: {
    50: '#b275ca',
    500: '#8d37b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d37b2;
$custom-light: #b275ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37b2",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 281.951,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.19322,
    "h": 313.8
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#8D37B2
secondary
#95C580
accent
#DC4C77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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