#7E41AA#7E41AA

#7E41AA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.166 H 308.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7E41AA
RGBrgb(126, 65, 170)
HSLhsl(275, 45%, 46%)
HSVhsv(275, 62%, 67%)
CMYKcmyk(25.9%, 61.8%, 0%, 33.3%)
CIE-LABlab(39.78, 45.36, -46.15)
CIE-LCHlch(39.78, 64.71, 314.51°)
OKLaboklab(50.04% 0.1029 -0.1302)
OKLCHoklch(50.04% 0.166 308.3)
XYZxyz(17.7487, 11.1188, 39.2335)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41AA #6DAA41
analogous
#4941AA #7E41AA #AA41A1
triadic
#7E41AA #AA7E41 #41AA7E
tetradic
#7E41AA #AA4941 #6DAA41 #41A1AA
square
#7E41AA #AA4941 #6DAA41 #41A1AA
split-complementary
#7E41AA #A1AA41 #41AA49
monochromatic
#3C1F51 #5D307E #7E41AA #9C64C4 #B891D5

Accessibility & contrast

On white

6.51
#7E41AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7E41AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41AA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41AA#FFFFFF#000000##FFFFFF
##7E41AA1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#315EA8
Tritanopia (blue-blind)
#77566F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e41aa;
/* rgb */ color: rgb(126, 65, 170);
/* oklch */ color: oklch(50.0% 0.166 308.3);
Tailwind
colors: {
  custom: {
    50: '#a779c4',
    500: '#7e41aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e41aa;
$custom-light: #a779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41aa",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 274.857,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.16593,
    "h": 308.3
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#7E41AA
secondary
#9FC087
accent
#D45389
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7E41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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