#8E35BB#8E35BB

#8E35BB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.205 H 311.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8E35BB
RGBrgb(142, 53, 187)
HSLhsl(280, 56%, 47%)
HSVhsv(280, 72%, 73%)
CMYKcmyk(24.1%, 71.7%, 0%, 26.7%)
CIE-LABlab(41.03, 58.33, -54.06)
CIE-LCHlch(41.03, 79.53, 317.17°)
OKLaboklab(51.75% 0.1362 -0.1528)
OKLCHoklch(51.75% 0.205 311.7)
XYZxyz(21.3964, 11.8854, 48.1711)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35BB #62BB35
analogous
#4B35BB #8E35BB #BB35A5
triadic
#8E35BB #BB8E35 #35BB8E
tetradic
#8E35BB #BB4B35 #62BB35 #35A5BB
square
#8E35BB #BB4B35 #62BB35 #35A5BB
split-complementary
#8E35BB #A5BB35 #35BB4B
monochromatic
#461A5C #6A278B #8E35BB #AA5CD1 #C38CDE

Accessibility & contrast

On white

6.22
#8E35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8E35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35BB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35BB#FFFFFF#000000##FFFFFF
##8E35BB1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#2362B8
Tritanopia (blue-blind)
#885275
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e35bb;
/* rgb */ color: rgb(142, 53, 187);
/* oklch */ color: oklch(51.8% 0.205 311.7);
Tailwind
colors: {
  custom: {
    50: '#b374d0',
    500: '#8e35bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e35bb;
$custom-light: #b374d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35bb",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 279.851,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.2047,
    "h": 311.7
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#8E35BB
secondary
#9AC983
accent
#DF497B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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