#7E419F#7E419F

#7E419F is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.154 H 312.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7E419F
RGBrgb(126, 65, 159)
HSLhsl(279, 42%, 44%)
HSVhsv(279, 59%, 62%)
CMYKcmyk(20.8%, 59.1%, 0%, 37.6%)
CIE-LABlab(39.10, 42.81, -40.65)
CIE-LCHlch(39.10, 59.04, 316.48°)
OKLaboklab(49.33% 0.1029 -0.1141)
OKLCHoklch(49.33% 0.154 312)
XYZxyz(16.7514, 10.7198, 33.9809)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E419F #629F41
analogous
#4F419F #7E419F #9F4191
triadic
#7E419F #9F7E41 #419F7E
tetradic
#7E419F #9F4F41 #629F41 #41919F
square
#7E419F #9F4F41 #629F41 #41919F
split-complementary
#7E419F #919F41 #419F4F
monochromatic
#391D48 #5C2F74 #7E419F #9D5FBE #B78BD0

Accessibility & contrast

On white

6.68
#7E419F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7E419F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E419F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E419F#FFFFFF#000000##FFFFFF
##7E419F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#3B5D9D
Tritanopia (blue-blind)
#7A526A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e419f;
/* rgb */ color: rgb(126, 65, 159);
/* oklch */ color: oklch(49.3% 0.154 312.0);
Tailwind
colors: {
  custom: {
    50: '#a679bc',
    500: '#7e419f',
    950: '#000000',
  },
}
SCSS
$custom: #7e419f;
$custom-light: #a679bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e419f",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 278.936,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.15361,
    "h": 312
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#7E419F
secondary
#95BA81
accent
#D25681
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E419F

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

Preview Lab → · Contrast checker → · Palette generator →

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