#8D37C5#8D37C5

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

Color values

HEX#8D37C5
RGBrgb(141, 55, 197)
HSLhsl(276, 56%, 49%)
HSVhsv(276, 72%, 77%)
CMYKcmyk(28.4%, 72.1%, 0%, 22.7%)
CIE-LABlab(41.89, 59.46, -58.53)
CIE-LCHlch(41.89, 83.44, 315.45°)
OKLaboklab(52.55% 0.1315 -0.166)
OKLCHoklch(52.55% 0.212 308.4)
XYZxyz(22.4267, 12.4267, 54.0297)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37C5 #6FC537
analogous
#4637C5 #8D37C5 #C537B6
triadic
#8D37C5 #C58D37 #37C58D
tetradic
#8D37C5 #C54637 #6FC537 #37B6C5
square
#8D37C5 #C54637 #6FC537 #37B6C5
split-complementary
#8D37C5 #B6C537 #37C546
monochromatic
#491C65 #6B2A95 #8D37C5 #A865D4 #C395E1

Accessibility & contrast

On white

6.03
#8D37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D37C5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37C5#FFFFFF#000000##FFFFFF
##8D37C51.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0B64C2
Tritanopia (blue-blind)
#84587B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d37c5;
/* rgb */ color: rgb(141, 55, 197);
/* oklch */ color: oklch(52.5% 0.212 308.4);
Tailwind
colors: {
  custom: {
    50: '#b376d7',
    500: '#8d37c5',
    950: '#000000',
  },
}
SCSS
$custom: #8d37c5;
$custom-light: #b376d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37c5",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 276.338,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.21175,
    "h": 308.4
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#8D37C5
secondary
#A5CD8B
accent
#E04884
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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