#8E37C2#8E37C2

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

Color values

HEX#8E37C2
RGBrgb(142, 55, 194)
HSLhsl(278, 56%, 49%)
HSVhsv(278, 72%, 76%)
CMYKcmyk(26.8%, 71.6%, 0%, 23.9%)
CIE-LABlab(41.81, 59.00, -56.90)
CIE-LCHlch(41.81, 81.97, 316.04°)
OKLaboklab(52.46% 0.1332 -0.1612)
OKLCHoklch(52.46% 0.209 309.6)
XYZxyz(22.2572, 12.3786, 52.2453)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37C2 #6BC237
analogous
#4937C2 #8E37C2 #C237B1
triadic
#8E37C2 #C28E37 #37C28E
tetradic
#8E37C2 #C24937 #6BC237 #37B1C2
square
#8E37C2 #C24937 #6BC237 #37B1C2
split-complementary
#8E37C2 #B1C237 #37C249
monochromatic
#481C63 #6B2992 #8E37C2 #A963D3 #C393E0

Accessibility & contrast

On white

6.04
#8E37C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E37C2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37C2#FFFFFF#000000##FFFFFF
##8E37C21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#865679
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e37c2;
/* rgb */ color: rgb(142, 55, 194);
/* oklch */ color: oklch(52.5% 0.209 309.6);
Tailwind
colors: {
  custom: {
    50: '#b476d5',
    500: '#8e37c2',
    950: '#000000',
  },
}
SCSS
$custom: #8e37c2;
$custom-light: #b476d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37c2",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 277.554,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.20911,
    "h": 309.6
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#8E37C2
secondary
#A2CB89
accent
#DF4981
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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