#8E35B7#8E35B7

#8E35B7 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.201 H 312.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8E35B7
RGBrgb(142, 53, 183)
HSLhsl(281, 55%, 46%)
HSVhsv(281, 71%, 72%)
CMYKcmyk(22.4%, 71%, 0%, 28.2%)
CIE-LABlab(40.76, 57.48, -52.15)
CIE-LCHlch(40.76, 77.61, 317.79°)
OKLaboklab(51.47% 0.1367 -0.1472)
OKLCHoklch(51.47% 0.201 312.9)
XYZxyz(20.9742, 11.7165, 45.9472)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35B7 #5EB735
analogous
#4D35B7 #8E35B7 #B7359F
triadic
#8E35B7 #B78E35 #35B78E
tetradic
#8E35B7 #B74D35 #5EB735 #359FB7
square
#8E35B7 #B74D35 #5EB735 #359FB7
split-complementary
#8E35B7 #9FB735 #35B74D
monochromatic
#441A58 #692788 #8E35B7 #AA5ACF #C389DD

Accessibility & contrast

On white

6.28
#8E35B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8E35B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35B7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35B7#FFFFFF#000000##FFFFFF
##8E35B71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2962B4
Tritanopia (blue-blind)
#8A5172
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e35b7;
/* rgb */ color: rgb(142, 53, 183);
/* oklch */ color: oklch(51.5% 0.201 312.9);
Tailwind
colors: {
  custom: {
    50: '#b374cd',
    500: '#8e35b7',
    950: '#000000',
  },
}
SCSS
$custom: #8e35b7;
$custom-light: #b374cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35b7",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 281.077,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.20087,
    "h": 312.9
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#8E35B7
secondary
#97C781
accent
#DE4978
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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