#8E37BB#8E37BB

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

Color values

HEX#8E37BB
RGBrgb(142, 55, 187)
HSLhsl(280, 55%, 47%)
HSVhsv(280, 71%, 73%)
CMYKcmyk(24.1%, 70.6%, 0%, 26.7%)
CIE-LABlab(41.33, 57.49, -53.58)
CIE-LCHlch(41.33, 78.59, 317.01°)
OKLaboklab(51.96% 0.1342 -0.1514)
OKLCHoklch(51.96% 0.202 311.5)
XYZxyz(21.4895, 12.0716, 48.2021)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37BB #64BB37
analogous
#4C37BB #8E37BB #BB37A6
triadic
#8E37BB #BB8E37 #37BB8E
tetradic
#8E37BB #BB4C37 #64BB37 #37A6BB
square
#8E37BB #BB4C37 #64BB37 #37A6BB
split-complementary
#8E37BB #A6BB37 #37BB4C
monochromatic
#461B5C #6A298C #8E37BB #AA5FD0 #C38EDE

Accessibility & contrast

On white

6.15
#8E37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8E37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37BB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37BB#FFFFFF#000000##FFFFFF
##8E37BB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#2663B8
Tritanopia (blue-blind)
#885475
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e37bb;
/* rgb */ color: rgb(142, 55, 187);
/* oklch */ color: oklch(52.0% 0.202 311.5);
Tailwind
colors: {
  custom: {
    50: '#b375d0',
    500: '#8e37bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e37bb;
$custom-light: #b375d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37bb",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 279.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.2023,
    "h": 311.5
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#8E37BB
secondary
#9CC985
accent
#DE4A7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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