#8E35C2#8E35C2

#8E35C2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.211 H 309.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8E35C2
RGBrgb(142, 53, 194)
HSLhsl(278, 57%, 48%)
HSVhsv(278, 73%, 76%)
CMYKcmyk(26.8%, 72.7%, 0%, 23.9%)
CIE-LABlab(41.52, 59.82, -57.37)
CIE-LCHlch(41.52, 82.89, 316.20°)
OKLaboklab(52.25% 0.1352 -0.1625)
OKLCHoklch(52.25% 0.211 309.7)
XYZxyz(22.1641, 12.1925, 52.2143)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35C2 #69C235
analogous
#4735C2 #8E35C2 #C235AF
triadic
#8E35C2 #C28E35 #35C28E
tetradic
#8E35C2 #C24735 #69C235 #35AFC2
square
#8E35C2 #C24735 #69C235 #35AFC2
split-complementary
#8E35C2 #AFC235 #35C247
monochromatic
#481B62 #6B2892 #8E35C2 #A960D4 #C391E1

Accessibility & contrast

On white

6.11
#8E35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8E35C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35C2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35C2#FFFFFF#000000##FFFFFF
##8E35C21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#1463BF
Tritanopia (blue-blind)
#875579
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e35c2;
/* rgb */ color: rgb(142, 53, 194);
/* oklch */ color: oklch(52.3% 0.211 309.7);
Tailwind
colors: {
  custom: {
    50: '#b475d5',
    500: '#8e35c2',
    950: '#000000',
  },
}
SCSS
$custom: #8e35c2;
$custom-light: #b475d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35c2",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 277.872,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.21142,
    "h": 309.7
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#8E35C2
secondary
#A0CC87
accent
#E04780
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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