#8E35B2#8E35B2

#8E35B2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.196 H 314.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8E35B2
RGBrgb(142, 53, 178)
HSLhsl(283, 54%, 45%)
HSVhsv(283, 70%, 70%)
CMYKcmyk(20.2%, 70.2%, 0%, 30.2%)
CIE-LABlab(40.43, 56.44, -49.73)
CIE-LCHlch(40.43, 75.22, 318.62°)
OKLaboklab(51.13% 0.1372 -0.1401)
OKLCHoklch(51.13% 0.196 314.4)
XYZxyz(20.4630, 11.5120, 43.2550)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35B2 #59B235
analogous
#4F35B2 #8E35B2 #B23597
triadic
#8E35B2 #B28E35 #35B28E
tetradic
#8E35B2 #B24F35 #59B235 #3597B2
square
#8E35B2 #B24F35 #59B235 #3597B2
split-complementary
#8E35B2 #97B235 #35B24F
monochromatic
#431954 #682783 #8E35B2 #AB57CD #C386DB

Accessibility & contrast

On white

6.36
#8E35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8E35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35B2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35B2#FFFFFF#000000##FFFFFF
##8E35B21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#8B4F70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e35b2;
/* rgb */ color: rgb(142, 53, 178);
/* oklch */ color: oklch(51.1% 0.196 314.4);
Tailwind
colors: {
  custom: {
    50: '#b374ca',
    500: '#8e35b2',
    950: '#000000',
  },
}
SCSS
$custom: #8e35b2;
$custom-light: #b374ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35b2",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 282.72,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.1961,
    "h": 314.4
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#8E35B2
secondary
#92C57E
accent
#DD4A75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8E35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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