#8E37C7#8E37C7

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

Color values

HEX#8E37C7
RGBrgb(142, 55, 199)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 72%, 78%)
CMYKcmyk(28.6%, 72.4%, 0%, 22%)
CIE-LABlab(42.16, 60.09, -59.24)
CIE-LCHlch(42.16, 84.38, 315.41°)
OKLaboklab(52.82% 0.1325 -0.168)
OKLCHoklch(52.82% 0.214 308.2)
XYZxyz(22.8282, 12.6070, 55.2526)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37C7 #70C737
analogous
#4637C7 #8E37C7 #C737B8
triadic
#8E37C7 #C78E37 #37C78E
tetradic
#8E37C7 #C74637 #70C737 #37B8C7
square
#8E37C7 #C74637 #70C737 #37B8C7
split-complementary
#8E37C7 #B8C737 #37C746
monochromatic
#4A1C67 #6C2A97 #8E37C7 #A966D5 #C496E2

Accessibility & contrast

On white

5.96
#8E37C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8E37C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37C7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37C7#FFFFFF#000000##FFFFFF
##8E37C71.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0764C4
Tritanopia (blue-blind)
#85587C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e37c7;
/* rgb */ color: rgb(142, 55, 199);
/* oklch */ color: oklch(52.8% 0.214 308.2);
Tailwind
colors: {
  custom: {
    50: '#b476d9',
    500: '#8e37c7',
    950: '#000000',
  },
}
SCSS
$custom: #8e37c7;
$custom-light: #b476d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37c7",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 276.25,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.21398,
    "h": 308.2
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#8E37C7
secondary
#A6CD8C
accent
#E04884
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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