#7E35AA#7E35AA

#7E35AA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.183 H 309.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7E35AA
RGBrgb(126, 53, 170)
HSLhsl(277, 52%, 44%)
HSVhsv(277, 69%, 67%)
CMYKcmyk(25.9%, 68.8%, 0%, 33.3%)
CIE-LABlab(37.63, 51.26, -49.60)
CIE-LCHlch(37.63, 71.32, 315.94°)
OKLaboklab(48.49% 0.1171 -0.1402)
OKLCHoklch(48.49% 0.183 309.9)
XYZxyz(17.1316, 9.8845, 39.0278)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35AA #61AA35
analogous
#4335AA #7E35AA #AA359B
triadic
#7E35AA #AA7E35 #35AA7E
tetradic
#7E35AA #AA4335 #61AA35 #359BAA
square
#7E35AA #AA4335 #61AA35 #359BAA
split-complementary
#7E35AA #9BAA35 #35AA43
monochromatic
#39184D #5B267B #7E35AA #9D53C9 #B782D8

Accessibility & contrast

On white

7.05
#7E35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7E35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E35AA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35AA#FFFFFF#000000##FFFFFF
##7E35AA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#225AA7
Tritanopia (blue-blind)
#784E6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e35aa;
/* rgb */ color: rgb(126, 53, 170);
/* oklch */ color: oklch(48.5% 0.183 309.9);
Tailwind
colors: {
  custom: {
    50: '#a772c4',
    500: '#7e35aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e35aa;
$custom-light: #a772c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35aa",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 277.436,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48488,
    "c": 0.18271,
    "h": 309.9
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#7E35AA
secondary
#95C17A
accent
#DC4C82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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