#7E41D0#7E41D0

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

Color values

HEX#7E41D0
RGBrgb(126, 65, 208)
HSLhsl(266, 60%, 54%)
HSVhsv(266, 69%, 82%)
CMYKcmyk(39.4%, 68.8%, 0%, 18.4%)
CIE-LABlab(42.41, 54.63, -64.14)
CIE-LCHlch(42.41, 84.25, 310.43°)
OKLaboklab(52.77% 0.0993 -0.183)
OKLCHoklch(52.77% 0.208 298.5)
XYZxyz(21.8768, 12.7700, 60.9745)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41D0 #93D041
analogous
#414BD0 #7E41D0 #C541D0
triadic
#7E41D0 #D07E41 #41D07E
tetradic
#7E41D0 #D0414B #93D041 #41D0C5
square
#7E41D0 #D0414B #93D041 #41D0C5
split-complementary
#7E41D0 #D0C541 #4BD041
monochromatic
#451E79 #612AAA #7E41D0 #9F72DC #C1A3E8

Accessibility & contrast

On white

5.91
#7E41D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7E41D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41D0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41D0#FFFFFF#000000##FFFFFF
##7E41D01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#6A6384
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e41d0;
/* rgb */ color: rgb(126, 65, 208);
/* oklch */ color: oklch(52.8% 0.208 298.5);
Tailwind
colors: {
  custom: {
    50: '#aa7adf',
    500: '#7e41d0',
    950: '#000000',
  },
}
SCSS
$custom: #7e41d0;
$custom-light: #aa7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41d0",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 265.594,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.20824,
    "h": 298.5
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#7E41D0
secondary
#BBD598
accent
#E344A0
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E41D0

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

Preview Lab → · Contrast checker → · Palette generator →

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