#7E429D#7E429D

#7E429D is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.3% C 0.150 H 312.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7E429D
RGBrgb(126, 66, 157)
HSLhsl(280, 41%, 44%)
HSVhsv(280, 58%, 62%)
CMYKcmyk(19.7%, 58%, 0%, 38.4%)
CIE-LABlab(39.18, 41.83, -39.32)
CIE-LCHlch(39.18, 57.41, 316.77°)
OKLaboklab(49.35% 0.1015 -0.1102)
OKLCHoklch(49.35% 0.15 312.6)
XYZxyz(16.6371, 10.7668, 33.0935)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E429D #619D42
analogous
#50429D #7E429D #9D428E
triadic
#7E429D #9D7E42 #429D7E
tetradic
#7E429D #9D5042 #619D42 #428E9D
square
#7E429D #9D5042 #619D42 #428E9D
split-complementary
#7E429D #8E9D42 #429D50
monochromatic
#391E47 #5B3072 #7E429D #9D60BC #B78BCE

Accessibility & contrast

On white

6.66
#7E429D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7E429D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E429D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E429D#FFFFFF#000000##FFFFFF
##7E429D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2759A0
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#7B5269
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e429d;
/* rgb */ color: rgb(126, 66, 157);
/* oklch */ color: oklch(49.3% 0.150 312.6);
Tailwind
colors: {
  custom: {
    50: '#a679ba',
    500: '#7e429d',
    950: '#000000',
  },
}
SCSS
$custom: #7e429d;
$custom-light: #a679ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e429d",
  "rgb": {
    "r": 126,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 279.56,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.14979,
    "h": 312.6
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#7E429D
secondary
#95B982
accent
#D15781
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E429D

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

Preview Lab → · Contrast checker → · Palette generator →

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