#8E37C4#8E37C4

#8E37C4 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.211 H 309.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8E37C4
RGBrgb(142, 55, 196)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 77%)
CMYKcmyk(27.6%, 71.9%, 0%, 23.1%)
CIE-LABlab(41.95, 59.43, -57.84)
CIE-LCHlch(41.95, 82.93, 315.78°)
OKLaboklab(52.6% 0.1329 -0.1639)
OKLCHoklch(52.6% 0.211 309)
XYZxyz(22.4833, 12.4691, 53.4362)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37C4 #6DC437
analogous
#4837C4 #8E37C4 #C437B4
triadic
#8E37C4 #C48E37 #37C48E
tetradic
#8E37C4 #C44837 #6DC437 #37B4C4
square
#8E37C4 #C44837 #6DC437 #37B4C4
split-complementary
#8E37C4 #B4C437 #37C448
monochromatic
#491C64 #6B2A94 #8E37C4 #A965D4 #C494E1

Accessibility & contrast

On white

6.01
#8E37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8E37C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37C4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37C4#FFFFFF#000000##FFFFFF
##8E37C41.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#1364C1
Tritanopia (blue-blind)
#86577A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e37c4;
/* rgb */ color: rgb(142, 55, 196);
/* oklch */ color: oklch(52.6% 0.211 309.0);
Tailwind
colors: {
  custom: {
    50: '#b476d7',
    500: '#8e37c4',
    950: '#000000',
  },
}
SCSS
$custom: #8e37c4;
$custom-light: #b476d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37c4",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 277.021,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.21105,
    "h": 309
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#8E37C4
secondary
#A4CC8B
accent
#DF4882
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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