#7E35B9#7E35B9

#7E35B9 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.198 H 305.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7E35B9
RGBrgb(126, 53, 185)
HSLhsl(273, 55%, 47%)
HSVhsv(273, 71%, 73%)
CMYKcmyk(31.9%, 71.4%, 0%, 27.5%)
CIE-LABlab(38.70, 54.69, -56.77)
CIE-LCHlch(38.70, 78.82, 313.93°)
OKLaboklab(49.58% 0.1151 -0.1613)
OKLCHoklch(49.58% 0.198 305.5)
XYZxyz(18.6323, 10.4847, 46.9317)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35B9 #70B935
analogous
#3C35B9 #7E35B9 #B935B2
triadic
#7E35B9 #B97E35 #35B97E
tetradic
#7E35B9 #B93C35 #70B935 #35B2B9
square
#7E35B9 #B93C35 #70B935 #35B2B9
split-complementary
#7E35B9 #B2B935 #35B93C
monochromatic
#3D1A5A #5E2789 #7E35B9 #9C5BD0 #B98BDE

Accessibility & contrast

On white

6.78
#7E35B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7E35B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35B9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35B9#FFFFFF#000000##FFFFFF
##7E35B91.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#735473
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e35b9;
/* rgb */ color: rgb(126, 53, 185);
/* oklch */ color: oklch(49.6% 0.198 305.5);
Tailwind
colors: {
  custom: {
    50: '#a873cf',
    500: '#7e35b9',
    950: '#000000',
  },
}
SCSS
$custom: #7e35b9;
$custom-light: #a873cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35b9",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 273.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.19818,
    "h": 305.5
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#7E35B9
secondary
#A1C882
accent
#DF498C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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