#7E35C4#7E35C4

#7E35C4 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.209 H 302.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7E35C4
RGBrgb(126, 53, 196)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 73%, 77%)
CMYKcmyk(35.7%, 73%, 0%, 23.1%)
CIE-LABlab(39.53, 57.26, -61.88)
CIE-LCHlch(39.53, 84.30, 312.78°)
OKLaboklab(50.43% 0.1131 -0.1763)
OKLCHoklch(50.43% 0.21 302.7)
XYZxyz(19.8387, 10.9673, 53.2856)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35C4 #7BC435
analogous
#3635C4 #7E35C4 #C435C3
triadic
#7E35C4 #C47E35 #35C47E
tetradic
#7E35C4 #C43635 #7BC435 #35C3C4
square
#7E35C4 #C43635 #7BC435 #35C3C4
split-complementary
#7E35C4 #C3C435 #35C436
monochromatic
#401B64 #5F2894 #7E35C4 #9C62D4 #BB92E1

Accessibility & contrast

On white

6.58
#7E35C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7E35C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35C4
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35C4#FFFFFF#000000##FFFFFF
##7E35C41.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#70587A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e35c4;
/* rgb */ color: rgb(126, 53, 196);
/* oklch */ color: oklch(50.4% 0.209 302.7);
Tailwind
colors: {
  custom: {
    50: '#a973d7',
    500: '#7e35c4',
    950: '#000000',
  },
}
SCSS
$custom: #7e35c4;
$custom-light: #a973d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35c4",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 270.629,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.2095,
    "h": 302.7
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#7E35C4
secondary
#AACC88
accent
#E14792
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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