#7E41D5#7E41D5

#7E41D5 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.214 H 297.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7E41D5
RGBrgb(126, 65, 213)
HSLhsl(265, 64%, 55%)
HSVhsv(265, 69%, 84%)
CMYKcmyk(40.8%, 69.5%, 0%, 16.5%)
CIE-LABlab(42.79, 55.89, -66.40)
CIE-LCHlch(42.79, 86.79, 310.09°)
OKLaboklab(53.16% 0.0985 -0.1897)
OKLCHoklch(53.16% 0.214 297.4)
XYZxyz(22.5016, 13.0199, 64.2655)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41D5 #98D541
analogous
#414ED5 #7E41D5 #C841D5
triadic
#7E41D5 #D57E41 #41D57E
tetradic
#7E41D5 #D5414E #98D541 #41D5C8
square
#7E41D5 #D5414E #98D541 #41D5C8
split-complementary
#7E41D5 #D5C841 #4ED541
monochromatic
#451C7F #6027B2 #7E41D5 #A073E0 #C2A5EB

Accessibility & contrast

On white

5.83
#7E41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7E41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41D5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41D5#FFFFFF#000000##FFFFFF
##7E41D51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#686586
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e41d5;
/* rgb */ color: rgb(126, 65, 213);
/* oklch */ color: oklch(53.2% 0.214 297.4);
Tailwind
colors: {
  custom: {
    50: '#aa7ae3',
    500: '#7e41d5',
    950: '#000000',
  },
}
SCSS
$custom: #7e41d5;
$custom-light: #aa7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41d5",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 264.73,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.21373,
    "h": 297.4
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#7E41D5
secondary
#BED89A
accent
#E741A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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