#8D37C4#8D37C4

#8D37C4 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.211 H 308.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8D37C4
RGBrgb(141, 55, 196)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 77%)
CMYKcmyk(28.1%, 71.9%, 0%, 23.1%)
CIE-LABlab(41.82, 59.24, -58.07)
CIE-LCHlch(41.82, 82.95, 315.57°)
OKLaboklab(52.48% 0.1316 -0.1646)
OKLCHoklch(52.48% 0.211 308.6)
XYZxyz(22.3125, 12.3810, 53.4282)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37C4 #6EC437
analogous
#4737C4 #8D37C4 #C437B5
triadic
#8D37C4 #C48D37 #37C48D
tetradic
#8D37C4 #C44737 #6EC437 #37B5C4
square
#8D37C4 #C44737 #6EC437 #37B5C4
split-complementary
#8D37C4 #B5C437 #37C447
monochromatic
#481C64 #6B2A94 #8D37C4 #A865D4 #C394E1

Accessibility & contrast

On white

6.04
#8D37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8D37C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37C4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37C4#FFFFFF#000000##FFFFFF
##8D37C41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0F64C1
Tritanopia (blue-blind)
#85577A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d37c4;
/* rgb */ color: rgb(141, 55, 196);
/* oklch */ color: oklch(52.5% 0.211 308.6);
Tailwind
colors: {
  custom: {
    50: '#b375d7',
    500: '#8d37c4',
    950: '#000000',
  },
}
SCSS
$custom: #8d37c4;
$custom-light: #b375d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37c4",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 276.596,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.21077,
    "h": 308.6
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#8D37C4
secondary
#A4CC8B
accent
#DF4883
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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