#8D37B7#8D37B7

#8D37B7 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.198 H 312.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8D37B7
RGBrgb(141, 55, 183)
HSLhsl(280, 54%, 47%)
HSVhsv(280, 70%, 72%)
CMYKcmyk(23%, 69.9%, 0%, 28.2%)
CIE-LABlab(40.92, 56.43, -51.90)
CIE-LCHlch(40.92, 76.67, 317.39°)
OKLaboklab(51.55% 0.1333 -0.1465)
OKLCHoklch(51.55% 0.198 312.3)
XYZxyz(20.8964, 11.8146, 45.9702)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37B7 #61B737
analogous
#4D37B7 #8D37B7 #B737A1
triadic
#8D37B7 #B78D37 #37B78D
tetradic
#8D37B7 #B74D37 #61B737 #37A1B7
square
#8D37B7 #B74D37 #61B737 #37A1B7
split-complementary
#8D37B7 #A1B737 #37B74D
monochromatic
#441B59 #692988 #8D37B7 #A95DCE #C28CDC

Accessibility & contrast

On white

6.24
#8D37B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D37B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37B7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37B7#FFFFFF#000000##FFFFFF
##8D37B71.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2A62B4
Tritanopia (blue-blind)
#885273
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d37b7;
/* rgb */ color: rgb(141, 55, 183);
/* oklch */ color: oklch(51.6% 0.198 312.3);
Tailwind
colors: {
  custom: {
    50: '#b275cd',
    500: '#8d37b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d37b7;
$custom-light: #b275cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37b7",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 280.313,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51555,
    "c": 0.19808,
    "h": 312.3
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#8D37B7
secondary
#99C783
accent
#DD4B7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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