#8E37D0#8E37D0

#8E37D0 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.223 H 306.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8E37D0
RGBrgb(142, 55, 208)
HSLhsl(274, 62%, 52%)
HSVhsv(274, 74%, 82%)
CMYKcmyk(31.7%, 73.6%, 0%, 18.4%)
CIE-LABlab(42.82, 62.08, -63.39)
CIE-LCHlch(42.82, 88.72, 314.40°)
OKLaboklab(53.49% 0.1309 -0.1802)
OKLCHoklch(53.49% 0.223 306)
XYZxyz(23.9042, 13.0374, 60.9195)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37D0 #79D037
analogous
#4237D0 #8E37D0 #D037C5
triadic
#8E37D0 #D08E37 #37D08E
tetradic
#8E37D0 #D04237 #79D037 #37C5D0
square
#8E37D0 #D04237 #79D037 #37C5D0
split-complementary
#8E37D0 #C5D037 #37D042
monochromatic
#4C1B72 #6D26A3 #8E37D0 #AA69DC #C69AE7

Accessibility & contrast

On white

5.82
#8E37D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8E37D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37D0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37D0#FFFFFF#000000##FFFFFF
##8E37D01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#825C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e37d0;
/* rgb */ color: rgb(142, 55, 208);
/* oklch */ color: oklch(53.5% 0.223 306.0);
Tailwind
colors: {
  custom: {
    50: '#b576df',
    500: '#8e37d0',
    950: '#000000',
  },
}
SCSS
$custom: #8e37d0;
$custom-light: #b576df;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37d0",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 274.118,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.22274,
    "h": 306
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#8E37D0
secondary
#ADD390
accent
#E54389
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E37D0

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

Preview Lab → · Contrast checker → · Palette generator →

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