#8D37B0#8D37B0

#8D37B0 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.191 H 314.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8D37B0
RGBrgb(141, 55, 176)
HSLhsl(283, 52%, 45%)
HSVhsv(283, 69%, 69%)
CMYKcmyk(19.9%, 68.8%, 0%, 31%)
CIE-LABlab(40.46, 54.95, -48.51)
CIE-LCHlch(40.46, 73.30, 318.56°)
OKLaboklab(51.08% 0.1339 -0.1366)
OKLCHoklch(51.08% 0.191 314.4)
XYZxyz(20.1859, 11.5304, 42.2281)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37B0 #5AB037
analogous
#5137B0 #8D37B0 #B03796
triadic
#8D37B0 #B08D37 #37B08D
tetradic
#8D37B0 #B05137 #5AB037 #3796B0
square
#8D37B0 #B05137 #5AB037 #3796B0
split-complementary
#8D37B0 #96B037 #37B051
monochromatic
#421A53 #682881 #8D37B0 #AA59CB #C288DA

Accessibility & contrast

On white

6.35
#8D37B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8D37B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37B0
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37B0#FFFFFF#000000##FFFFFF
##8D37B01.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#3262AD
Tritanopia (blue-blind)
#8A4F6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d37b0;
/* rgb */ color: rgb(141, 55, 176);
/* oklch */ color: oklch(51.1% 0.191 314.4);
Tailwind
colors: {
  custom: {
    50: '#b275c8',
    500: '#8d37b0',
    950: '#000000',
  },
}
SCSS
$custom: #8d37b0;
$custom-light: #b275c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37b0",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 282.645,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.19128,
    "h": 314.4
  },
  "luminance": 0.1153
}

Semantic roles & 50–950 ramp

primary
#8D37B0
secondary
#93C47F
accent
#DC4C76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D37B0

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

Preview Lab → · Contrast checker → · Palette generator →

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