#8D37C1#8D37C1

#8D37C1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.208 H 309.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D37C1
RGBrgb(141, 55, 193)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 76%)
CMYKcmyk(26.9%, 71.5%, 0%, 24.3%)
CIE-LABlab(41.60, 58.58, -56.66)
CIE-LCHlch(41.60, 81.50, 315.96°)
OKLaboklab(52.26% 0.1321 -0.1605)
OKLCHoklch(52.26% 0.208 309.4)
XYZxyz(21.9744, 12.2458, 51.6478)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37C1 #6BC137
analogous
#4837C1 #8D37C1 #C137B0
triadic
#8D37C1 #C18D37 #37C18D
tetradic
#8D37C1 #C14837 #6BC137 #37B0C1
square
#8D37C1 #C14837 #6BC137 #37B0C1
split-complementary
#8D37C1 #B0C137 #37C148
monochromatic
#471C62 #6A2991 #8D37C1 #A863D2 #C392E0

Accessibility & contrast

On white

6.09
#8D37C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8D37C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37C1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37C1#FFFFFF#000000##FFFFFF
##8D37C11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#1863BE
Tritanopia (blue-blind)
#855679
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d37c1;
/* rgb */ color: rgb(141, 55, 193);
/* oklch */ color: oklch(52.3% 0.208 309.4);
Tailwind
colors: {
  custom: {
    50: '#b375d5',
    500: '#8d37c1',
    950: '#000000',
  },
}
SCSS
$custom: #8d37c1;
$custom-light: #b375d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37c1",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 277.391,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.20784,
    "h": 309.4
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#8D37C1
secondary
#A2CB89
accent
#DF4981
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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