#7E35C1#7E35C1

#7E35C1 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.206 H 303.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7E35C1
RGBrgb(126, 53, 193)
HSLhsl(271, 57%, 48%)
HSVhsv(271, 73%, 76%)
CMYKcmyk(34.7%, 72.5%, 0%, 24.3%)
CIE-LABlab(39.30, 56.55, -60.49)
CIE-LCHlch(39.30, 82.81, 313.07°)
OKLaboklab(50.2% 0.1137 -0.1723)
OKLCHoklch(50.2% 0.206 303.4)
XYZxyz(19.5007, 10.8321, 51.5052)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35C1 #78C135
analogous
#3835C1 #7E35C1 #C135BE
triadic
#7E35C1 #C17E35 #35C17E
tetradic
#7E35C1 #C13835 #78C135 #35BEC1
square
#7E35C1 #C13835 #78C135 #35BEC1
split-complementary
#7E35C1 #BEC135 #35C138
monochromatic
#3F1B61 #5F2891 #7E35C1 #9C60D3 #BA90E0

Accessibility & contrast

On white

6.63
#7E35C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7E35C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35C1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35C1#FFFFFF#000000##FFFFFF
##7E35C11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#715778
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e35c1;
/* rgb */ color: rgb(126, 53, 193);
/* oklch */ color: oklch(50.2% 0.206 303.4);
Tailwind
colors: {
  custom: {
    50: '#a973d5',
    500: '#7e35c1',
    950: '#000000',
  },
}
SCSS
$custom: #7e35c1;
$custom-light: #a973d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35c1",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 271.286,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.20641,
    "h": 303.4
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#7E35C1
secondary
#A7CB87
accent
#E04891
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E35C1

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

Preview Lab → · Contrast checker → · Palette generator →

#7E35C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva