#8E35CA#8E35CA

#8E35CA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.219 H 307.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8E35CA
RGBrgb(142, 53, 202)
HSLhsl(276, 58%, 50%)
HSVhsv(276, 74%, 79%)
CMYKcmyk(29.7%, 73.8%, 0%, 20.8%)
CIE-LABlab(42.10, 61.56, -61.09)
CIE-LCHlch(42.10, 86.73, 315.22°)
OKLaboklab(52.84% 0.1338 -0.1735)
OKLCHoklch(52.84% 0.219 307.6)
XYZxyz(23.0869, 12.5616, 57.0741)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35CA #71CA35
analogous
#4435CA #8E35CA #CA35BB
triadic
#8E35CA #CA8E35 #35CA8E
tetradic
#8E35CA #CA4435 #71CA35 #35BBCA
square
#8E35CA #CA4435 #71CA35 #35BBCA
split-complementary
#8E35CA #BBCA35 #35CA44
monochromatic
#4A1C69 #6C289A #8E35CA #A965D7 #C496E3

Accessibility & contrast

On white

5.98
#8E35CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8E35CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35CA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35CA#FFFFFF#000000##FFFFFF
##8E35CA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#84597D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e35ca;
/* rgb */ color: rgb(142, 53, 202);
/* oklch */ color: oklch(52.8% 0.219 307.6);
Tailwind
colors: {
  custom: {
    50: '#b475db',
    500: '#8e35ca',
    950: '#000000',
  },
}
SCSS
$custom: #8e35ca;
$custom-light: #b475db;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35ca",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 275.839,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.52839,
    "c": 0.21911,
    "h": 307.6
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#8E35CA
secondary
#A7CF8C
accent
#E24685
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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