#7E419D#7E419D

#7E419D is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.2% C 0.151 H 312.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7E419D
RGBrgb(126, 65, 157)
HSLhsl(280, 41%, 44%)
HSVhsv(280, 59%, 62%)
CMYKcmyk(19.7%, 58.6%, 0%, 38.4%)
CIE-LABlab(38.99, 42.36, -39.64)
CIE-LCHlch(38.99, 58.01, 316.90°)
OKLaboklab(49.2% 0.1028 -0.1111)
OKLCHoklch(49.2% 0.151 312.8)
XYZxyz(16.5792, 10.6510, 33.0742)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E419D #609D41
analogous
#50419D #7E419D #9D418E
triadic
#7E419D #9D7E41 #419D7E
tetradic
#7E419D #9D5041 #609D41 #418E9D
square
#7E419D #9D5041 #609D41 #418E9D
split-complementary
#7E419D #8E9D41 #419D50
monochromatic
#391D46 #5B2F72 #7E419D #9D5FBD #B78ACF

Accessibility & contrast

On white

6.71
#7E419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7E419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E419D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E419D#FFFFFF#000000##FFFFFF
##7E419D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#3C5D9B
Tritanopia (blue-blind)
#7B5169
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e419d;
/* rgb */ color: rgb(126, 65, 157);
/* oklch */ color: oklch(49.2% 0.151 312.8);
Tailwind
colors: {
  custom: {
    50: '#a679ba',
    500: '#7e419d',
    950: '#000000',
  },
}
SCSS
$custom: #7e419d;
$custom-light: #a679ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e419d",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 279.783,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.15139,
    "h": 312.8
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#7E419D
secondary
#94B980
accent
#D15780
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E419D

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

Preview Lab → · Contrast checker → · Palette generator →

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