#8E35C5#8E35C5

#8E35C5 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.214 H 308.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8E35C5
RGBrgb(142, 53, 197)
HSLhsl(277, 58%, 49%)
HSVhsv(277, 73%, 77%)
CMYKcmyk(27.9%, 73.1%, 0%, 22.7%)
CIE-LABlab(41.73, 60.47, -58.78)
CIE-LCHlch(41.73, 84.33, 315.81°)
OKLaboklab(52.47% 0.1347 -0.1667)
OKLCHoklch(52.47% 0.214 308.9)
XYZxyz(22.5044, 12.3286, 54.0066)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35C5 #6CC535
analogous
#4635C5 #8E35C5 #C535B4
triadic
#8E35C5 #C58E35 #35C58E
tetradic
#8E35C5 #C54635 #6CC535 #35B4C5
square
#8E35C5 #C54635 #6CC535 #35B4C5
split-complementary
#8E35C5 #B4C535 #35C546
monochromatic
#481B65 #6B2895 #8E35C5 #A962D5 #C493E2

Accessibility & contrast

On white

6.06
#8E35C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8E35C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35C5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35C5#FFFFFF#000000##FFFFFF
##8E35C51.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0964C2
Tritanopia (blue-blind)
#86577A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e35c5;
/* rgb */ color: rgb(142, 53, 197);
/* oklch */ color: oklch(52.5% 0.214 308.9);
Tailwind
colors: {
  custom: {
    50: '#b475d7',
    500: '#8e35c5',
    950: '#000000',
  },
}
SCSS
$custom: #8e35c5;
$custom-light: #b475d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35c5",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 277.083,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.2143,
    "h": 308.9
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#8E35C5
secondary
#A3CD89
accent
#E14782
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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