#8E35BD#8E35BD

#8E35BD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.207 H 311.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8E35BD
RGBrgb(142, 53, 189)
HSLhsl(279, 56%, 47%)
HSVhsv(279, 72%, 74%)
CMYKcmyk(24.9%, 72%, 0%, 25.9%)
CIE-LABlab(41.17, 58.75, -55.01)
CIE-LCHlch(41.17, 80.49, 316.88°)
OKLaboklab(51.89% 0.1359 -0.1556)
OKLCHoklch(51.89% 0.207 311.1)
XYZxyz(21.6120, 11.9716, 49.3065)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35BD #64BD35
analogous
#4A35BD #8E35BD #BD35A8
triadic
#8E35BD #BD8E35 #35BD8E
tetradic
#8E35BD #BD4A35 #64BD35 #35A8BD
square
#8E35BD #BD4A35 #64BD35 #35A8BD
split-complementary
#8E35BD #A8BD35 #35BD4A
monochromatic
#461A5D #6A288D #8E35BD #AA5DD2 #C38DDF

Accessibility & contrast

On white

6.19
#8E35BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8E35BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35BD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35BD#FFFFFF#000000##FFFFFF
##8E35BD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1F63BA
Tritanopia (blue-blind)
#885376
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e35bd;
/* rgb */ color: rgb(142, 53, 189);
/* oklch */ color: oklch(51.9% 0.207 311.1);
Tailwind
colors: {
  custom: {
    50: '#b374d2',
    500: '#8e35bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e35bd;
$custom-light: #b374d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35bd",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 279.265,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.20661,
    "h": 311.1
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#8E35BD
secondary
#9CCA84
accent
#DF487D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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