#7E41EA#7E41EA

#7E41EA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.236 H 293.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E41EA
RGBrgb(126, 65, 234)
HSLhsl(262, 80%, 59%)
HSVhsv(262, 72%, 92%)
CMYKcmyk(46.2%, 72.2%, 0%, 8.2%)
CIE-LABlab(44.46, 61.23, -75.65)
CIE-LCHlch(44.46, 97.32, 308.98°)
OKLaboklab(54.85% 0.0944 -0.2169)
OKLCHoklch(54.85% 0.237 293.5)
XYZxyz(25.3417, 14.1559, 79.2231)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41EA #ADEA41
analogous
#4158EA #7E41EA #D341EA
triadic
#7E41EA #EA7E41 #41EA7E
tetradic
#7E41EA #EA4158 #ADEA41 #41EAD3
square
#7E41EA #EA4158 #ADEA41 #41EAD3
split-complementary
#7E41EA #EAD341 #58EA41
monochromatic
#45129F #5C18D6 #7E41EA #A378F0 #C9AFF6

Accessibility & contrast

On white

5.48
#7E41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7E41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41EA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41EA#FFFFFF#000000##FFFFFF
##7E41EA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#5E6D92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e41ea;
/* rgb */ color: rgb(126, 65, 234);
/* oklch */ color: oklch(54.9% 0.236 293.5);
Tailwind
colors: {
  custom: {
    50: '#ac7bf2',
    500: '#7e41ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e41ea;
$custom-light: #ac7bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41ea",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 261.657,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54851,
    "c": 0.2365,
    "h": 293.5
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#7E41EA
secondary
#CDE5A2
accent
#F731AF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7E41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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