#8E35DA#8E35DA

#8E35DA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.1% C 0.235 H 303.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8E35DA
RGBrgb(142, 53, 218)
HSLhsl(272, 69%, 53%)
HSVhsv(272, 76%, 85%)
CMYKcmyk(34.9%, 75.7%, 0%, 14.5%)
CIE-LABlab(43.30, 65.10, -68.36)
CIE-LCHlch(43.30, 94.40, 313.60°)
OKLaboklab(54.06% 0.1305 -0.1948)
OKLCHoklch(54.06% 0.235 303.8)
XYZxyz(25.0804, 13.3590, 67.5733)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35DA #81DA35
analogous
#3B35DA #8E35DA #DA35D3
triadic
#8E35DA #DA8E35 #35DA8E
tetradic
#8E35DA #DA3B35 #81DA35 #35D3DA
square
#8E35DA #DA3B35 #81DA35 #35D3DA
split-complementary
#8E35DA #D3DA35 #35DA3B
monochromatic
#4E177E #6F20B1 #8E35DA #AB69E3 #C89CED

Accessibility & contrast

On white

5.72
#8E35DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8E35DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35DA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35DA#FFFFFF#000000##FFFFFF
##8E35DA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#7F5F86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e35da;
/* rgb */ color: rgb(142, 53, 218);
/* oklch */ color: oklch(54.1% 0.235 303.8);
Tailwind
colors: {
  custom: {
    50: '#b576e6',
    500: '#8e35da',
    950: '#000000',
  },
}
SCSS
$custom: #8e35da;
$custom-light: #b576e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35da",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 218
  },
  "hsl": {
    "h": 272.364,
    "s": 69.038,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.23451,
    "h": 303.8
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#8E35DA
secondary
#B3D992
accent
#EC3C8D
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E35DA

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

Preview Lab → · Contrast checker → · Palette generator →

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