#7E35C0#7E35C0

#7E35C0 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.205 H 303.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7E35C0
RGBrgb(126, 53, 192)
HSLhsl(272, 57%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(34.4%, 72.4%, 0%, 24.7%)
CIE-LABlab(39.22, 56.32, -60.03)
CIE-LCHlch(39.22, 82.32, 313.17°)
OKLaboklab(50.12% 0.1139 -0.1709)
OKLCHoklch(50.12% 0.205 303.7)
XYZxyz(19.3895, 10.7876, 50.9197)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35C0 #77C035
analogous
#3835C0 #7E35C0 #C035BC
triadic
#7E35C0 #C07E35 #35C07E
tetradic
#7E35C0 #C03835 #77C035 #35BCC0
square
#7E35C0 #C03835 #77C035 #35BCC0
split-complementary
#7E35C0 #BCC035 #35C038
monochromatic
#3F1B60 #5F2890 #7E35C0 #9C5FD3 #BA8FE0

Accessibility & contrast

On white

6.65
#7E35C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7E35C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35C0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35C0#FFFFFF#000000##FFFFFF
##7E35C01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#715777
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e35c0;
/* rgb */ color: rgb(126, 53, 192);
/* oklch */ color: oklch(50.1% 0.205 303.7);
Tailwind
colors: {
  custom: {
    50: '#a973d4',
    500: '#7e35c0',
    950: '#000000',
  },
}
SCSS
$custom: #7e35c0;
$custom-light: #a973d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35c0",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 271.511,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.20539,
    "h": 303.7
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#7E35C0
secondary
#A7CB86
accent
#E04890
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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