#8E35D1#8E35D1

#8E35D1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.4% C 0.226 H 305.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8E35D1
RGBrgb(142, 53, 209)
HSLhsl(274, 63%, 51%)
HSVhsv(274, 75%, 82%)
CMYKcmyk(32.1%, 74.6%, 0%, 18%)
CIE-LABlab(42.61, 63.10, -64.30)
CIE-LCHlch(42.61, 90.09, 314.46°)
OKLaboklab(53.37% 0.1325 -0.1829)
OKLCHoklch(53.37% 0.226 305.9)
XYZxyz(23.9345, 12.9006, 61.5384)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E35D1 #78D135
analogous
#4035D1 #8E35D1 #D135C6
triadic
#8E35D1 #D18E35 #35D18E
tetradic
#8E35D1 #D14035 #78D135 #35C6D1
square
#8E35D1 #D14035 #78D135 #35C6D1
split-complementary
#8E35D1 #C6D135 #35D140
monochromatic
#4C1A72 #6D25A4 #8E35D1 #AA67DC #C699E8

Accessibility & contrast

On white

5.87
#8E35D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8E35D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E35D1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E35D1#FFFFFF#000000##FFFFFF
##8E35D11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#825C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e35d1;
/* rgb */ color: rgb(142, 53, 209);
/* oklch */ color: oklch(53.4% 0.226 305.9);
Tailwind
colors: {
  custom: {
    50: '#b575e0',
    500: '#8e35d1',
    950: '#000000',
  },
}
SCSS
$custom: #8e35d1;
$custom-light: #b575e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e35d1",
  "rgb": {
    "r": 142,
    "g": 53,
    "b": 209
  },
  "hsl": {
    "h": 274.231,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.22585,
    "h": 305.9
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#8E35D1
secondary
#ACD38F
accent
#E64288
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E35D1

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

Preview Lab → · Contrast checker → · Palette generator →

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