#8E35BE#8E35BE

#8E35BE is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.208 H 310.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8E35BE
RGBrgb(142, 53, 190)
HSLhsl(279, 56%, 48%)
HSVhsv(279, 72%, 75%)
CMYKcmyk(25.3%, 72.1%, 0%, 25.5%)
CIE-LABlab(41.24, 58.97, -55.49)
CIE-LCHlch(41.24, 80.97, 316.74°)
OKLaboklab(51.96% 0.1358 -0.157)
OKLCHoklch(51.96% 0.208 310.9)
XYZxyz(21.7209, 12.0152, 49.8802)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35BE #65BE35
analogous
#4935BE #8E35BE #BE35AA
triadic
#8E35BE #BE8E35 #35BE8E
tetradic
#8E35BE #BE4935 #65BE35 #35AABE
square
#8E35BE #BE4935 #65BE35 #35AABE
split-complementary
#8E35BE #AABE35 #35BE49
monochromatic
#461A5E #6A288E #8E35BE #A95ED2 #C38EDF

Accessibility & contrast

On white

6.17
#8E35BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8E35BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35BE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35BE#FFFFFF#000000##FFFFFF
##8E35BE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#1D63BB
Tritanopia (blue-blind)
#885476
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e35be;
/* rgb */ color: rgb(142, 53, 190);
/* oklch */ color: oklch(52.0% 0.208 310.9);
Tailwind
colors: {
  custom: {
    50: '#b474d2',
    500: '#8e35be',
    950: '#000000',
  },
}
SCSS
$custom: #8e35be;
$custom-light: #b474d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35be",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 278.978,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.20758,
    "h": 310.9
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#8E35BE
secondary
#9DCA85
accent
#E0487D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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