#7E41D2#7E41D2

#7E41D2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.210 H 298.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7E41D2
RGBrgb(126, 65, 210)
HSLhsl(265, 62%, 54%)
HSVhsv(265, 69%, 82%)
CMYKcmyk(40%, 69%, 0%, 17.6%)
CIE-LABlab(42.57, 55.14, -65.04)
CIE-LCHlch(42.57, 85.27, 310.29°)
OKLaboklab(52.92% 0.099 -0.1857)
OKLCHoklch(52.92% 0.21 298.1)
XYZxyz(22.1244, 12.8690, 62.2786)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41D2 #95D241
analogous
#414DD2 #7E41D2 #C641D2
triadic
#7E41D2 #D27E41 #41D27E
tetradic
#7E41D2 #D2414D #95D241 #41D2C6
square
#7E41D2 #D2414D #95D241 #41D2C6
split-complementary
#7E41D2 #D2C641 #4DD241
monochromatic
#451D7B #6029AD #7E41D2 #A072DE #C1A4E9

Accessibility & contrast

On white

5.88
#7E41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7E41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41D2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41D2#FFFFFF#000000##FFFFFF
##7E41D21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#696485
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e41d2;
/* rgb */ color: rgb(126, 65, 210);
/* oklch */ color: oklch(52.9% 0.210 298.1);
Tailwind
colors: {
  custom: {
    50: '#aa7ae1',
    500: '#7e41d2',
    950: '#000000',
  },
}
SCSS
$custom: #7e41d2;
$custom-light: #aa7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41d2",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 265.241,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52922,
    "c": 0.21044,
    "h": 298.1
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#7E41D2
secondary
#BCD698
accent
#E543A1
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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