#7E35AC#7E35AC

#7E35AC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.185 H 309.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7E35AC
RGBrgb(126, 53, 172)
HSLhsl(277, 53%, 44%)
HSVhsv(277, 69%, 67%)
CMYKcmyk(26.7%, 69.2%, 0%, 32.5%)
CIE-LABlab(37.77, 51.71, -50.57)
CIE-LCHlch(37.77, 72.32, 315.64°)
OKLaboklab(48.63% 0.1169 -0.1431)
OKLCHoklch(48.63% 0.185 309.2)
XYZxyz(17.3222, 9.9607, 40.0318)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35AC #63AC35
analogous
#4335AC #7E35AC #AC359F
triadic
#7E35AC #AC7E35 #35AC7E
tetradic
#7E35AC #AC4335 #63AC35 #359FAC
square
#7E35AC #AC4335 #63AC35 #359FAC
split-complementary
#7E35AC #9FAC35 #35AC43
monochromatic
#39184E #5C277D #7E35AC #9D54CA #B783D9

Accessibility & contrast

On white

7.02
#7E35AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7E35AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E35AC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35AC#FFFFFF#000000##FFFFFF
##7E35AC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#1E5AA9
Tritanopia (blue-blind)
#774F6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e35ac;
/* rgb */ color: rgb(126, 53, 172);
/* oklch */ color: oklch(48.6% 0.185 309.2);
Tailwind
colors: {
  custom: {
    50: '#a772c5',
    500: '#7e35ac',
    950: '#000000',
  },
}
SCSS
$custom: #7e35ac;
$custom-light: #a772c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35ac",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 276.807,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.18477,
    "h": 309.2
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#7E35AC
secondary
#96C27B
accent
#DC4C83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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