#8E37CF#8E37CF

#8E37CF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.222 H 306.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8E37CF
RGBrgb(142, 55, 207)
HSLhsl(274, 61%, 51%)
HSVhsv(274, 73%, 81%)
CMYKcmyk(31.4%, 73.4%, 0%, 18.8%)
CIE-LABlab(42.75, 61.85, -62.93)
CIE-LCHlch(42.75, 88.24, 314.50°)
OKLaboklab(53.41% 0.1311 -0.1789)
OKLCHoklch(53.41% 0.222 306.2)
XYZxyz(23.7815, 12.9884, 60.2736)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37CF #78CF37
analogous
#4237CF #8E37CF #CF37C4
triadic
#8E37CF #CF8E37 #37CF8E
tetradic
#8E37CF #CF4237 #78CF37 #37C4CF
square
#8E37CF #CF4237 #78CF37 #37C4CF
split-complementary
#8E37CF #C4CF37 #37CF42
monochromatic
#4C1B71 #6D27A2 #8E37CF #AA68DB #C69AE7

Accessibility & contrast

On white

5.84
#8E37CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8E37CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37CF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37CF#FFFFFF#000000##FFFFFF
##8E37CF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#835C80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e37cf;
/* rgb */ color: rgb(142, 55, 207);
/* oklch */ color: oklch(53.4% 0.222 306.2);
Tailwind
colors: {
  custom: {
    50: '#b576df',
    500: '#8e37cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e37cf;
$custom-light: #b576df;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37cf",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 274.342,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.22177,
    "h": 306.2
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#8E37CF
secondary
#ACD28F
accent
#E44388
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E37CF

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

Preview Lab → · Contrast checker → · Palette generator →

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