#8D37C6#8D37C6

#8D37C6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.213 H 308.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D37C6
RGBrgb(141, 55, 198)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 72%, 78%)
CMYKcmyk(28.8%, 72.2%, 0%, 22.4%)
CIE-LABlab(41.96, 59.68, -59.00)
CIE-LCHlch(41.96, 83.92, 315.33°)
OKLaboklab(52.62% 0.1313 -0.1674)
OKLCHoklch(52.62% 0.213 308.1)
XYZxyz(22.5416, 12.4727, 54.6351)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37C6 #70C637
analogous
#4637C6 #8D37C6 #C637B8
triadic
#8D37C6 #C68D37 #37C68D
tetradic
#8D37C6 #C64637 #70C637 #37B8C6
square
#8D37C6 #C64637 #70C637 #37B8C6
split-complementary
#8D37C6 #B8C637 #37C646
monochromatic
#491C66 #6B2A96 #8D37C6 #A866D4 #C396E2

Accessibility & contrast

On white

6.01
#8D37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8D37C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37C6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37C6#FFFFFF#000000##FFFFFF
##8D37C61.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0764C3
Tritanopia (blue-blind)
#84587B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d37c6;
/* rgb */ color: rgb(141, 55, 198);
/* oklch */ color: oklch(52.6% 0.213 308.1);
Tailwind
colors: {
  custom: {
    50: '#b376d8',
    500: '#8d37c6',
    950: '#000000',
  },
}
SCSS
$custom: #8d37c6;
$custom-light: #b376d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37c6",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 276.084,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.21273,
    "h": 308.1
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#8D37C6
secondary
#A6CD8C
accent
#E04885
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8D37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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