#7E41C1#7E41C1

#7E41C1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.192 H 301.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7E41C1
RGBrgb(126, 65, 193)
HSLhsl(269, 51%, 51%)
HSVhsv(269, 66%, 76%)
CMYKcmyk(34.7%, 66.3%, 0%, 24.3%)
CIE-LABlab(41.32, 50.90, -57.21)
CIE-LCHlch(41.32, 76.58, 311.66°)
OKLaboklab(51.64% 0.1013 -0.1627)
OKLCHoklch(51.64% 0.192 301.9)
XYZxyz(20.1178, 12.0664, 51.7109)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41C1 #84C141
analogous
#4144C1 #7E41C1 #BE41C1
triadic
#7E41C1 #C17E41 #41C17E
tetradic
#7E41C1 #C14144 #84C141 #41C1BE
square
#7E41C1 #C14144 #84C141 #41C1BE
split-complementary
#7E41C1 #C1BE41 #44C141
monochromatic
#422166 #603094 #7E41C1 #9D6FD0 #BD9DDF

Accessibility & contrast

On white

6.15
#7E41C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7E41C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41C1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41C1#FFFFFF#000000##FFFFFF
##7E41C11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0261BE
Tritanopia (blue-blind)
#705E7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e41c1;
/* rgb */ color: rgb(126, 65, 193);
/* oklch */ color: oklch(51.6% 0.192 301.9);
Tailwind
colors: {
  custom: {
    50: '#a87ad5',
    500: '#7e41c1',
    950: '#000000',
  },
}
SCSS
$custom: #7e41c1;
$custom-light: #a87ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41c1",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 268.594,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.19165,
    "h": 301.9
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#7E41C1
secondary
#B0CB92
accent
#DA4E97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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