#8E35CF#8E35CF

#8E35CF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.224 H 306.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8E35CF
RGBrgb(142, 53, 207)
HSLhsl(275, 62%, 51%)
HSVhsv(275, 74%, 81%)
CMYKcmyk(31.4%, 74.4%, 0%, 18.8%)
CIE-LABlab(42.46, 62.66, -63.39)
CIE-LCHlch(42.46, 89.13, 314.67°)
OKLaboklab(53.22% 0.1329 -0.1802)
OKLCHoklch(53.22% 0.224 306.4)
XYZxyz(23.6885, 12.8022, 60.2425)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35CF #76CF35
analogous
#4135CF #8E35CF #CF35C3
triadic
#8E35CF #CF8E35 #35CF8E
tetradic
#8E35CF #CF4135 #76CF35 #35C3CF
square
#8E35CF #CF4135 #76CF35 #35C3CF
split-complementary
#8E35CF #C3CF35 #35CF41
monochromatic
#4B1A6F #6D26A1 #8E35CF #AA66DB #C598E7

Accessibility & contrast

On white

5.90
#8E35CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8E35CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35CF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35CF#FFFFFF#000000##FFFFFF
##8E35CF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#835B80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e35cf;
/* rgb */ color: rgb(142, 53, 207);
/* oklch */ color: oklch(53.2% 0.224 306.4);
Tailwind
colors: {
  custom: {
    50: '#b575df',
    500: '#8e35cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e35cf;
$custom-light: #b575df;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35cf",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 274.675,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.22392,
    "h": 306.4
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#8E35CF
secondary
#ABD28E
accent
#E54387
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E35CF

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

Preview Lab → · Contrast checker → · Palette generator →

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