#8D37C2#8D37C2

#8D37C2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.209 H 309.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D37C2
RGBrgb(141, 55, 194)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 76%)
CMYKcmyk(27.3%, 71.6%, 0%, 23.9%)
CIE-LABlab(41.67, 58.80, -57.13)
CIE-LCHlch(41.67, 81.98, 315.83°)
OKLaboklab(52.33% 0.1319 -0.1619)
OKLCHoklch(52.33% 0.209 309.2)
XYZxyz(22.0863, 12.2905, 52.2373)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37C2 #6CC237
analogous
#4837C2 #8D37C2 #C237B2
triadic
#8D37C2 #C28D37 #37C28D
tetradic
#8D37C2 #C24837 #6CC237 #37B2C2
square
#8D37C2 #C24837 #6CC237 #37B2C2
split-complementary
#8D37C2 #B2C237 #37C248
monochromatic
#481C63 #6A2992 #8D37C2 #A863D3 #C393E0

Accessibility & contrast

On white

6.07
#8D37C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D37C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37C2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37C2#FFFFFF#000000##FFFFFF
##8D37C21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#1563BF
Tritanopia (blue-blind)
#855779
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d37c2;
/* rgb */ color: rgb(141, 55, 194);
/* oklch */ color: oklch(52.3% 0.209 309.2);
Tailwind
colors: {
  custom: {
    50: '#b375d5',
    500: '#8d37c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d37c2;
$custom-light: #b375d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37c2",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 277.122,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.20882,
    "h": 309.2
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#8D37C2
secondary
#A3CB89
accent
#DF4982
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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