#7E41D4#7E41D4

#7E41D4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.213 H 297.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7E41D4
RGBrgb(126, 65, 212)
HSLhsl(265, 63%, 54%)
HSVhsv(265, 69%, 83%)
CMYKcmyk(40.6%, 69.3%, 0%, 16.9%)
CIE-LABlab(42.72, 55.64, -65.95)
CIE-LCHlch(42.72, 86.28, 310.15°)
OKLaboklab(53.08% 0.0987 -0.1884)
OKLCHoklch(53.08% 0.213 297.6)
XYZxyz(22.3751, 12.9693, 63.5991)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41D4 #97D441
analogous
#414ED4 #7E41D4 #C841D4
triadic
#7E41D4 #D47E41 #41D47E
tetradic
#7E41D4 #D4414E #97D441 #41D4C8
square
#7E41D4 #D4414E #97D441 #41D4C8
split-complementary
#7E41D4 #D4C841 #4ED441
monochromatic
#451D7E #6028B0 #7E41D4 #A073DF #C2A5EB

Accessibility & contrast

On white

5.84
#7E41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7E41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41D4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41D4#FFFFFF#000000##FFFFFF
##7E41D41.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#696586
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e41d4;
/* rgb */ color: rgb(126, 65, 212);
/* oklch */ color: oklch(53.1% 0.213 297.6);
Tailwind
colors: {
  custom: {
    50: '#aa7ae2',
    500: '#7e41d4',
    950: '#000000',
  },
}
SCSS
$custom: #7e41d4;
$custom-light: #aa7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41d4",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 264.898,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53078,
    "c": 0.21263,
    "h": 297.6
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#7E41D4
secondary
#BED899
accent
#E642A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7E41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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