#7E35AF#7E35AF

#7E35AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.188 H 308.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7E35AF
RGBrgb(126, 53, 175)
HSLhsl(276, 54%, 45%)
HSVhsv(276, 70%, 69%)
CMYKcmyk(28%, 69.7%, 0%, 31.4%)
CIE-LABlab(37.98, 52.39, -52.02)
CIE-LCHlch(37.98, 73.82, 315.20°)
OKLaboklab(48.85% 0.1166 -0.1473)
OKLCHoklch(48.85% 0.188 308.3)
XYZxyz(17.6136, 10.0773, 41.5663)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35AF #66AF35
analogous
#4135AF #7E35AF #AF35A3
triadic
#7E35AF #AF7E35 #35AF7E
tetradic
#7E35AF #AF4135 #66AF35 #35A3AF
square
#7E35AF #AF4135 #66AF35 #35A3AF
split-complementary
#7E35AF #A3AF35 #35AF41
monochromatic
#3A1951 #5C2780 #7E35AF #9C56CC #B885DA

Accessibility & contrast

On white

6.96
#7E35AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7E35AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35AF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35AF#FFFFFF#000000##FFFFFF
##7E35AF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#195AAC
Tritanopia (blue-blind)
#76506E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e35af;
/* rgb */ color: rgb(126, 53, 175);
/* oklch */ color: oklch(48.8% 0.188 308.3);
Tailwind
colors: {
  custom: {
    50: '#a872c8',
    500: '#7e35af',
    950: '#000000',
  },
}
SCSS
$custom: #7e35af;
$custom-light: #a872c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35af",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 275.902,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48846,
    "c": 0.18787,
    "h": 308.3
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

primary
#7E35AF
secondary
#99C47C
accent
#DD4B86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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