#8E37C3#8E37C3

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

Color values

HEX#8E37C3
RGBrgb(142, 55, 195)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 76%)
CMYKcmyk(27.2%, 71.8%, 0%, 23.5%)
CIE-LABlab(41.88, 59.22, -57.37)
CIE-LCHlch(41.88, 82.45, 315.91°)
OKLaboklab(52.53% 0.1331 -0.1625)
OKLCHoklch(52.53% 0.21 309.3)
XYZxyz(22.3699, 12.4237, 52.8388)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37C3 #6CC337
analogous
#4837C3 #8E37C3 #C337B2
triadic
#8E37C3 #C38E37 #37C38E
tetradic
#8E37C3 #C34837 #6CC337 #37B2C3
square
#8E37C3 #C34837 #6CC337 #37B2C3
split-complementary
#8E37C3 #B2C337 #37C348
monochromatic
#481C64 #6B2A93 #8E37C3 #A964D3 #C494E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E37C3#FFFFFF#000000##FFFFFF
##8E37C31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#1664C0
Tritanopia (blue-blind)
#86577A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e37c3;
/* rgb */ color: rgb(142, 55, 195);
/* oklch */ color: oklch(52.5% 0.210 309.3);
Tailwind
colors: {
  custom: {
    50: '#b476d6',
    500: '#8e37c3',
    950: '#000000',
  },
}
SCSS
$custom: #8e37c3;
$custom-light: #b476d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37c3",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 277.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.21008,
    "h": 309.3
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#8E37C3
secondary
#A3CC8A
accent
#DF4982
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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