#7E419A#7E419A

#7E419A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.0% C 0.148 H 313.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7E419A
RGBrgb(126, 65, 154)
HSLhsl(281, 41%, 43%)
HSVhsv(281, 58%, 60%)
CMYKcmyk(18.2%, 57.8%, 0%, 39.6%)
CIE-LABlab(38.81, 41.68, -38.11)
CIE-LCHlch(38.81, 56.48, 317.56°)
OKLaboklab(49.02% 0.1027 -0.1067)
OKLCHoklch(49.02% 0.148 313.9)
XYZxyz(16.3262, 10.5498, 31.7419)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E419A #5D9A41
analogous
#52419A #7E419A #9A4189
triadic
#7E419A #9A7E41 #419A7E
tetradic
#7E419A #9A5241 #5D9A41 #41899A
square
#7E419A #9A5241 #5D9A41 #41899A
split-complementary
#7E419A #899A41 #419A52
monochromatic
#381D44 #5B2F6F #7E419A #9D5DBB #B788CD

Accessibility & contrast

On white

6.75
#7E419A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7E419A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E419A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E419A#FFFFFF#000000##FFFFFF
##7E419A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#7C5067
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e419a;
/* rgb */ color: rgb(126, 65, 154);
/* oklch */ color: oklch(49.0% 0.148 313.9);
Tailwind
colors: {
  custom: {
    50: '#a678b8',
    500: '#7e419a',
    950: '#000000',
  },
}
SCSS
$custom: #7e419a;
$custom-light: #a678b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e419a",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 281.124,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.14805,
    "h": 313.9
  },
  "luminance": 0.10549
}

Semantic roles & 50–950 ramp

primary
#7E419A
secondary
#91B87F
accent
#D0577D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E419A

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

Preview Lab → · Contrast checker → · Palette generator →

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