#7A429C#7A429C

#7A429C is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.8% C 0.147 H 310.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7A429C
RGBrgb(122, 66, 156)
HSLhsl(277, 41%, 44%)
HSVhsv(277, 58%, 61%)
CMYKcmyk(21.8%, 57.7%, 0%, 38.8%)
CIE-LABlab(38.61, 40.53, -39.67)
CIE-LCHlch(38.61, 56.71, 315.62°)
OKLaboklab(48.8% 0.0962 -0.1113)
OKLCHoklch(48.8% 0.147 310.8)
XYZxyz(15.9739, 10.4346, 32.6186)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A429C #649C42
analogous
#4D429C #7A429C #9C4291
triadic
#7A429C #9C7A42 #429C7A
tetradic
#7A429C #9C4D42 #649C42 #42919C
square
#7A429C #9C4D42 #649C42 #42919C
split-complementary
#7A429C #919C42 #429C4D
monochromatic
#371E46 #583071 #7A429C #9960BC #B48BCE

Accessibility & contrast

On white

6.80
#7A429C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7A429C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A429C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A429C#FFFFFF#000000##FFFFFF
##7A429C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#3A5C9A
Tritanopia (blue-blind)
#765268
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a429c;
/* rgb */ color: rgb(122, 66, 156);
/* oklch */ color: oklch(48.8% 0.147 310.8);
Tailwind
colors: {
  custom: {
    50: '#a379ba',
    500: '#7a429c',
    950: '#000000',
  },
}
SCSS
$custom: #7a429c;
$custom-light: #a379ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a429c",
  "rgb": {
    "r": 122,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 277.333,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.14712,
    "h": 310.8
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#7A429C
secondary
#96B981
accent
#D05785
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7A429C

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

Preview Lab → · Contrast checker → · Palette generator →

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