#8E35C7#8E35C7

#8E35C7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.216 H 308.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8E35C7
RGBrgb(142, 53, 199)
HSLhsl(277, 58%, 49%)
HSVhsv(277, 73%, 78%)
CMYKcmyk(28.6%, 73.4%, 0%, 22%)
CIE-LABlab(41.88, 60.91, -59.71)
CIE-LCHlch(41.88, 85.29, 315.57°)
OKLaboklab(52.62% 0.1344 -0.1694)
OKLCHoklch(52.62% 0.216 308.4)
XYZxyz(22.7351, 12.4209, 55.2215)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35C7 #6EC735
analogous
#4535C7 #8E35C7 #C735B7
triadic
#8E35C7 #C78E35 #35C78E
tetradic
#8E35C7 #C74535 #6EC735 #35B7C7
square
#8E35C7 #C74535 #6EC735 #35B7C7
split-complementary
#8E35C7 #B7C735 #35C745
monochromatic
#491B66 #6C2897 #8E35C7 #A964D6 #C494E2

Accessibility & contrast

On white

6.03
#8E35C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8E35C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35C7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35C7#FFFFFF#000000##FFFFFF
##8E35C71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#85577B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e35c7;
/* rgb */ color: rgb(142, 53, 199);
/* oklch */ color: oklch(52.6% 0.216 308.4);
Tailwind
colors: {
  custom: {
    50: '#b475d9',
    500: '#8e35c7',
    950: '#000000',
  },
}
SCSS
$custom: #8e35c7;
$custom-light: #b475d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35c7",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 276.575,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.21622,
    "h": 308.4
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#8E35C7
secondary
#A5CE8A
accent
#E14783
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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