#7E35C9#7E35C9

#7E35C9 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.215 H 301.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7E35C9
RGBrgb(126, 53, 201)
HSLhsl(270, 58%, 50%)
HSVhsv(270, 74%, 79%)
CMYKcmyk(37.3%, 73.6%, 0%, 21.2%)
CIE-LABlab(39.91, 58.44, -64.16)
CIE-LCHlch(39.91, 86.78, 312.33°)
OKLaboklab(50.83% 0.1121 -0.183)
OKLCHoklch(50.83% 0.215 301.5)
XYZxyz(20.4173, 11.1988, 56.3329)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35C9 #80C935
analogous
#3536C9 #7E35C9 #C835C9
triadic
#7E35C9 #C97E35 #35C97E
tetradic
#7E35C9 #C93536 #80C935 #35C9C8
square
#7E35C9 #C93536 #80C935 #35C9C8
split-complementary
#7E35C9 #C9C835 #36C935
monochromatic
#411B68 #602899 #7E35C9 #9D65D6 #BC95E3

Accessibility & contrast

On white

6.48
#7E35C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7E35C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35C9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35C9#FFFFFF#000000##FFFFFF
##7E35C91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#6E5A7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e35c9;
/* rgb */ color: rgb(126, 53, 201);
/* oklch */ color: oklch(50.8% 0.215 301.5);
Tailwind
colors: {
  custom: {
    50: '#aa73da',
    500: '#7e35c9',
    950: '#000000',
  },
}
SCSS
$custom: #7e35c9;
$custom-light: #aa73da;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35c9",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 269.595,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50825,
    "c": 0.21464,
    "h": 301.5
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#7E35C9
secondary
#ADCE8B
accent
#E14695
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E35C9

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

Preview Lab → · Contrast checker → · Palette generator →

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