#8E37C5#8E37C5

#8E37C5 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.212 H 308.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8E37C5
RGBrgb(142, 55, 197)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 77%)
CMYKcmyk(27.9%, 72.1%, 0%, 22.7%)
CIE-LABlab(42.02, 59.65, -58.31)
CIE-LCHlch(42.02, 83.41, 315.65°)
OKLaboklab(52.68% 0.1328 -0.1653)
OKLCHoklch(52.68% 0.212 308.8)
XYZxyz(22.5975, 12.5148, 54.0377)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37C5 #6EC537
analogous
#4737C5 #8E37C5 #C537B5
triadic
#8E37C5 #C58E37 #37C58E
tetradic
#8E37C5 #C54737 #6EC537 #37B5C5
square
#8E37C5 #C54737 #6EC537 #37B5C5
split-complementary
#8E37C5 #B5C537 #37C547
monochromatic
#491C65 #6C2A95 #8E37C5 #A965D4 #C495E1

Accessibility & contrast

On white

6.00
#8E37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8E37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37C5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37C5#FFFFFF#000000##FFFFFF
##8E37C51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e37c5;
/* rgb */ color: rgb(142, 55, 197);
/* oklch */ color: oklch(52.7% 0.212 308.8);
Tailwind
colors: {
  custom: {
    50: '#b476d7',
    500: '#8e37c5',
    950: '#000000',
  },
}
SCSS
$custom: #8e37c5;
$custom-light: #b476d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37c5",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 276.761,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.21203,
    "h": 308.8
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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