#8E37BD#8E37BD

#8E37BD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.204 H 311.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8E37BD
RGBrgb(142, 55, 189)
HSLhsl(279, 55%, 48%)
HSVhsv(279, 71%, 74%)
CMYKcmyk(24.9%, 70.9%, 0%, 25.9%)
CIE-LABlab(41.47, 57.92, -54.54)
CIE-LCHlch(41.47, 79.55, 316.72°)
OKLaboklab(52.1% 0.1339 -0.1542)
OKLCHoklch(52.1% 0.204 311)
XYZxyz(21.7051, 12.1578, 49.3375)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37BD #66BD37
analogous
#4B37BD #8E37BD #BD37A9
triadic
#8E37BD #BD8E37 #37BD8E
tetradic
#8E37BD #BD4B37 #66BD37 #37A9BD
square
#8E37BD #BD4B37 #66BD37 #37A9BD
split-complementary
#8E37BD #A9BD37 #37BD4B
monochromatic
#471B5E #6A298E #8E37BD #A960D1 #C390DF

Accessibility & contrast

On white

6.12
#8E37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8E37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37BD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37BD#FFFFFF#000000##FFFFFF
##8E37BD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#885476
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e37bd;
/* rgb */ color: rgb(142, 55, 189);
/* oklch */ color: oklch(52.1% 0.204 311.0);
Tailwind
colors: {
  custom: {
    50: '#b375d2',
    500: '#8e37bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e37bd;
$custom-light: #b375d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37bd",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 278.955,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.20425,
    "h": 311
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#8E37BD
secondary
#9EC986
accent
#DE4A7E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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