#8D37C8#8D37C8

#8D37C8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.215 H 307.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8D37C8
RGBrgb(141, 55, 200)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 73%, 78%)
CMYKcmyk(29.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(42.10, 60.12, -59.93)
CIE-LCHlch(42.10, 84.89, 315.09°)
OKLaboklab(52.77% 0.131 -0.1701)
OKLCHoklch(52.77% 0.215 307.6)
XYZxyz(22.7738, 12.5655, 55.8580)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D37C8 #72C837
analogous
#4437C8 #8D37C8 #C837BB
triadic
#8D37C8 #C88D37 #37C88D
tetradic
#8D37C8 #C84437 #72C837 #37BBC8
square
#8D37C8 #C84437 #72C837 #37BBC8
split-complementary
#8D37C8 #BBC837 #37C844
monochromatic
#491D68 #6B2A98 #8D37C8 #A867D5 #C497E2

Accessibility & contrast

On white

5.98
#8D37C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8D37C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D37C8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D37C8#FFFFFF#000000##FFFFFF
##8D37C81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#83597C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d37c8;
/* rgb */ color: rgb(141, 55, 200);
/* oklch */ color: oklch(52.8% 0.215 307.6);
Tailwind
colors: {
  custom: {
    50: '#b376da',
    500: '#8d37c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d37c8;
$custom-light: #b376da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d37c8",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 275.586,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.52769,
    "c": 0.21469,
    "h": 307.6
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#8D37C8
secondary
#A7CE8D
accent
#E04886
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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