#7E41BE#7E41BE

#7E41BE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.188 H 302.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7E41BE
RGBrgb(126, 65, 190)
HSLhsl(269, 49%, 50%)
HSVhsv(269, 66%, 75%)
CMYKcmyk(33.7%, 65.8%, 0%, 25.5%)
CIE-LABlab(41.11, 50.17, -55.80)
CIE-LCHlch(41.11, 75.03, 311.96°)
OKLaboklab(51.42% 0.1016 -0.1585)
OKLCHoklch(51.42% 0.188 302.7)
XYZxyz(19.7866, 11.9339, 49.9663)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41BE #81BE41
analogous
#4142BE #7E41BE #BD41BE
triadic
#7E41BE #BE7E41 #41BE7E
tetradic
#7E41BE #BE4142 #81BE41 #41BEBD
square
#7E41BE #BE4142 #81BE41 #41BEBD
split-complementary
#7E41BE #BEBD41 #42BE41
monochromatic
#422263 #603190 #7E41BE #9D6FCE #BC9CDD

Accessibility & contrast

On white

6.20
#7E41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7E41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41BE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41BE#FFFFFF#000000##FFFFFF
##7E41BE1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0F61BB
Tritanopia (blue-blind)
#715D7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e41be;
/* rgb */ color: rgb(126, 65, 190);
/* oklch */ color: oklch(51.4% 0.188 302.7);
Tailwind
colors: {
  custom: {
    50: '#a879d2',
    500: '#7e41be',
    950: '#000000',
  },
}
SCSS
$custom: #7e41be;
$custom-light: #a879d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41be",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 269.28,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.18831,
    "h": 302.7
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#7E41BE
secondary
#AEC991
accent
#D94F96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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