#7E41B4#7E41B4

#7E41B4 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.177 H 305.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7E41B4
RGBrgb(126, 65, 180)
HSLhsl(272, 47%, 48%)
HSVhsv(272, 64%, 71%)
CMYKcmyk(30%, 63.9%, 0%, 29.4%)
CIE-LABlab(40.43, 47.74, -51.03)
CIE-LCHlch(40.43, 69.88, 313.09°)
OKLaboklab(50.71% 0.1025 -0.1445)
OKLCHoklch(50.71% 0.177 305.3)
XYZxyz(18.7309, 11.5116, 44.4064)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E41B4 #77B441
analogous
#4441B4 #7E41B4 #B441B0
triadic
#7E41B4 #B47E41 #41B47E
tetradic
#7E41B4 #B44441 #77B441 #41B0B4
square
#7E41B4 #B44441 #77B441 #41B0B4
split-complementary
#7E41B4 #B0B441 #41B444
monochromatic
#3F215A #5F3187 #7E41B4 #9C69C9 #BA96D9

Accessibility & contrast

On white

6.36
#7E41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7E41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E41B4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E41B4#FFFFFF#000000##FFFFFF
##7E41B41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#255FB1
Tritanopia (blue-blind)
#755974
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e41b4;
/* rgb */ color: rgb(126, 65, 180);
/* oklch */ color: oklch(50.7% 0.177 305.3);
Tailwind
colors: {
  custom: {
    50: '#a779cb',
    500: '#7e41b4',
    950: '#000000',
  },
}
SCSS
$custom: #7e41b4;
$custom-light: #a779cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e41b4",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 271.826,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50714,
    "c": 0.17713,
    "h": 305.3
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#7E41B4
secondary
#A7C58C
accent
#D75190
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7E41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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