#7E35C3#7E35C3

#7E35C3 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.208 H 302.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E35C3
RGBrgb(126, 53, 195)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 73%, 76%)
CMYKcmyk(35.4%, 72.8%, 0%, 23.5%)
CIE-LABlab(39.45, 57.02, -61.42)
CIE-LCHlch(39.45, 83.81, 312.88°)
OKLaboklab(50.35% 0.1133 -0.175)
OKLCHoklch(50.35% 0.208 302.9)
XYZxyz(19.7253, 10.9219, 52.6881)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35C3 #7AC335
analogous
#3735C3 #7E35C3 #C335C1
triadic
#7E35C3 #C37E35 #35C37E
tetradic
#7E35C3 #C33735 #7AC335 #35C1C3
square
#7E35C3 #C33735 #7AC335 #35C1C3
split-complementary
#7E35C3 #C1C335 #35C337
monochromatic
#401B63 #5F2893 #7E35C3 #9C61D4 #BA91E1

Accessibility & contrast

On white

6.59
#7E35C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7E35C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35C3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35C3#FFFFFF#000000##FFFFFF
##7E35C31.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#705879
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e35c3;
/* rgb */ color: rgb(126, 53, 195);
/* oklch */ color: oklch(50.4% 0.208 302.9);
Tailwind
colors: {
  custom: {
    50: '#a973d6',
    500: '#7e35c3',
    950: '#000000',
  },
}
SCSS
$custom: #7e35c3;
$custom-light: #a973d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35c3",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 270.845,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.20847,
    "h": 302.9
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#7E35C3
secondary
#A9CC88
accent
#E14792
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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