#7E41D1#7E41D1

#7E41D1 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.209 H 298.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7E41D1
RGBrgb(126, 65, 209)
HSLhsl(265, 61%, 54%)
HSVhsv(265, 69%, 82%)
CMYKcmyk(39.7%, 68.9%, 0%, 18%)
CIE-LABlab(42.49, 54.89, -64.59)
CIE-LCHlch(42.49, 84.76, 310.36°)
OKLaboklab(52.85% 0.0991 -0.1844)
OKLCHoklch(52.85% 0.209 298.3)
XYZxyz(22.0002, 12.8193, 61.6245)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41D1 #94D141
analogous
#414CD1 #7E41D1 #C641D1
triadic
#7E41D1 #D17E41 #41D17E
tetradic
#7E41D1 #D1414C #94D141 #41D1C6
square
#7E41D1 #D1414C #94D141 #41D1C6
split-complementary
#7E41D1 #D1C641 #4CD141
monochromatic
#451E7A #6029AB #7E41D1 #9F72DD #C1A4E9

Accessibility & contrast

On white

5.89
#7E41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7E41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41D1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41D1#FFFFFF#000000##FFFFFF
##7E41D11.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#6A6484
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e41d1;
/* rgb */ color: rgb(126, 65, 209);
/* oklch */ color: oklch(52.8% 0.209 298.3);
Tailwind
colors: {
  custom: {
    50: '#aa7ae0',
    500: '#7e41d1',
    950: '#000000',
  },
}
SCSS
$custom: #7e41d1;
$custom-light: #aa7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41d1",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 265.417,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52845,
    "c": 0.20933,
    "h": 298.3
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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