#7E35C5#7E35C5

#7E35C5 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.211 H 302.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7E35C5
RGBrgb(126, 53, 197)
HSLhsl(270, 58%, 49%)
HSVhsv(270, 73%, 77%)
CMYKcmyk(36%, 73.1%, 0%, 22.7%)
CIE-LABlab(39.60, 57.50, -62.33)
CIE-LCHlch(39.60, 84.80, 312.69°)
OKLaboklab(50.51% 0.1129 -0.1777)
OKLCHoklch(50.51% 0.211 302.4)
XYZxyz(19.9529, 11.0130, 53.8870)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35C5 #7CC535
analogous
#3635C5 #7E35C5 #C535C4
triadic
#7E35C5 #C57E35 #35C57E
tetradic
#7E35C5 #C53635 #7CC535 #35C4C5
square
#7E35C5 #C53635 #7CC535 #35C4C5
split-complementary
#7E35C5 #C4C535 #35C536
monochromatic
#401B65 #5F2895 #7E35C5 #9C62D5 #BB93E2

Accessibility & contrast

On white

6.56
#7E35C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7E35C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35C5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35C5#FFFFFF#000000##FFFFFF
##7E35C51.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#6F597A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e35c5;
/* rgb */ color: rgb(126, 53, 197);
/* oklch */ color: oklch(50.5% 0.211 302.4);
Tailwind
colors: {
  custom: {
    50: '#a973d8',
    500: '#7e35c5',
    950: '#000000',
  },
}
SCSS
$custom: #7e35c5;
$custom-light: #a973d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35c5",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 270.417,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.21053,
    "h": 302.4
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#7E35C5
secondary
#AACD89
accent
#E14793
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7E35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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