#8E37BC#8E37BC

#8E37BC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.203 H 311.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8E37BC
RGBrgb(142, 55, 188)
HSLhsl(279, 55%, 48%)
HSVhsv(279, 71%, 74%)
CMYKcmyk(24.5%, 70.7%, 0%, 26.3%)
CIE-LABlab(41.40, 57.71, -54.06)
CIE-LCHlch(41.40, 79.07, 316.87°)
OKLaboklab(52.03% 0.134 -0.1528)
OKLCHoklch(52.03% 0.203 311.3)
XYZxyz(21.5969, 12.1145, 48.7678)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37BC #65BC37
analogous
#4B37BC #8E37BC #BC37A8
triadic
#8E37BC #BC8E37 #37BC8E
tetradic
#8E37BC #BC4B37 #65BC37 #37A8BC
square
#8E37BC #BC4B37 #65BC37 #37A8BC
split-complementary
#8E37BC #A8BC37 #37BC4B
monochromatic
#461B5D #6A298D #8E37BC #A960D0 #C38FDE

Accessibility & contrast

On white

6.14
#8E37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8E37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37BC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37BC#FFFFFF#000000##FFFFFF
##8E37BC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#885476
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e37bc;
/* rgb */ color: rgb(142, 55, 188);
/* oklch */ color: oklch(52.0% 0.203 311.3);
Tailwind
colors: {
  custom: {
    50: '#b375d1',
    500: '#8e37bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e37bc;
$custom-light: #b375d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37bc",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 279.248,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52032,
    "c": 0.20328,
    "h": 311.3
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#8E37BC
secondary
#9DC986
accent
#DE4A7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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