#7E41AF#7E41AF

#7E41AF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.172 H 306.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7E41AF
RGBrgb(126, 65, 175)
HSLhsl(273, 46%, 47%)
HSVhsv(273, 63%, 69%)
CMYKcmyk(28%, 62.9%, 0%, 31.4%)
CIE-LABlab(40.10, 46.54, -48.60)
CIE-LCHlch(40.10, 67.29, 313.76°)
OKLaboklab(50.37% 0.1027 -0.1374)
OKLCHoklch(50.37% 0.172 306.8)
XYZxyz(18.2307, 11.3116, 41.7721)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41AF #72AF41
analogous
#4741AF #7E41AF #AF41A9
triadic
#7E41AF #AF7E41 #41AF7E
tetradic
#7E41AF #AF4741 #72AF41 #41A9AF
square
#7E41AF #AF4741 #72AF41 #41A9AF
split-complementary
#7E41AF #A9AF41 #41AF47
monochromatic
#3E2056 #5E3082 #7E41AF #9C67C6 #B993D7

Accessibility & contrast

On white

6.44
#7E41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7E41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41AF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41AF#FFFFFF#000000##FFFFFF
##7E41AF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#765772
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e41af;
/* rgb */ color: rgb(126, 65, 175);
/* oklch */ color: oklch(50.4% 0.172 306.8);
Tailwind
colors: {
  custom: {
    50: '#a779c7',
    500: '#7e41af',
    950: '#000000',
  },
}
SCSS
$custom: #7e41af;
$custom-light: #a779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41af",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 273.273,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.17153,
    "h": 306.8
  },
  "luminance": 0.11311
}

Semantic roles & 50–950 ramp

primary
#7E41AF
secondary
#A3C289
accent
#D5528D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7E41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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