#8E35C0#8E35C0

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

Color values

HEX#8E35C0
RGBrgb(142, 53, 192)
HSLhsl(278, 57%, 48%)
HSVhsv(278, 72%, 75%)
CMYKcmyk(26%, 72.4%, 0%, 24.7%)
CIE-LABlab(41.38, 59.39, -56.43)
CIE-LCHlch(41.38, 81.93, 316.47°)
OKLaboklab(52.11% 0.1355 -0.1598)
OKLCHoklch(52.11% 0.209 310.3)
XYZxyz(21.9410, 12.1032, 51.0393)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35C0 #67C035
analogous
#4835C0 #8E35C0 #C035AD
triadic
#8E35C0 #C08E35 #35C08E
tetradic
#8E35C0 #C04835 #67C035 #35ADC0
square
#8E35C0 #C04835 #67C035 #35ADC0
split-complementary
#8E35C0 #ADC035 #35C048
monochromatic
#471B60 #6B2890 #8E35C0 #A95FD3 #C38FE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E35C0#FFFFFF#000000##FFFFFF
##8E35C01.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)
#005EC4
Deuteranopia (green-blind)
#1963BD
Tritanopia (blue-blind)
#875477
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e35c0;
/* rgb */ color: rgb(142, 53, 192);
/* oklch */ color: oklch(52.1% 0.209 310.3);
Tailwind
colors: {
  custom: {
    50: '#b474d4',
    500: '#8e35c0',
    950: '#000000',
  },
}
SCSS
$custom: #8e35c0;
$custom-light: #b474d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35c0",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 278.417,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.20949,
    "h": 310.3
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#8E35C0
secondary
#9FCB86
accent
#E0487F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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