#7E429C#7E429C

#7E429C is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.3% C 0.149 H 313.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7E429C
RGBrgb(126, 66, 156)
HSLhsl(280, 41%, 44%)
HSVhsv(280, 58%, 61%)
CMYKcmyk(19.2%, 57.7%, 0%, 38.8%)
CIE-LABlab(39.13, 41.60, -38.81)
CIE-LCHlch(39.13, 56.90, 316.99°)
OKLaboklab(49.29% 0.1014 -0.1087)
OKLCHoklch(49.29% 0.149 313)
XYZxyz(16.5521, 10.7328, 32.6457)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E429C #609C42
analogous
#51429C #7E429C #9C428D
triadic
#7E429C #9C7E42 #429C7E
tetradic
#7E429C #9C5142 #609C42 #428D9C
square
#7E429C #9C5142 #609C42 #428D9C
split-complementary
#7E429C #8D9C42 #429C51
monochromatic
#391E46 #5B3071 #7E429C #9D60BC #B78BCE

Accessibility & contrast

On white

6.67
#7E429C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E429C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E429C#FFFFFF#000000##FFFFFF
##7E429C1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#3E5E9A
Tritanopia (blue-blind)
#7B5268
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e429c;
/* rgb */ color: rgb(126, 66, 156);
/* oklch */ color: oklch(49.3% 0.149 313.0);
Tailwind
colors: {
  custom: {
    50: '#a679ba',
    500: '#7e429c',
    950: '#000000',
  },
}
SCSS
$custom: #7e429c;
$custom-light: #a679ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e429c",
  "rgb": {
    "r": 126,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 280,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49286,
    "c": 0.14867,
    "h": 313
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

primary
#7E429C
secondary
#94B981
accent
#D05780
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E429C

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

Preview Lab → · Contrast checker → · Palette generator →

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