#7A429D#7A429D

#7A429D is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.148 H 310.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7A429D
RGBrgb(122, 66, 157)
HSLhsl(277, 41%, 44%)
HSVhsv(277, 58%, 62%)
CMYKcmyk(22.3%, 58%, 0%, 38.4%)
CIE-LABlab(38.67, 40.77, -40.17)
CIE-LCHlch(38.67, 57.23, 315.42°)
OKLaboklab(48.86% 0.0962 -0.1128)
OKLCHoklch(48.86% 0.148 310.5)
XYZxyz(16.0589, 10.4686, 33.0664)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A429D #659D42
analogous
#4C429D #7A429D #9D4292
triadic
#7A429D #9D7A42 #429D7A
tetradic
#7A429D #9D4C42 #659D42 #42929D
square
#7A429D #9D4C42 #659D42 #42929D
split-complementary
#7A429D #929D42 #429D4C
monochromatic
#371E47 #593072 #7A429D #9960BC #B48BCE

Accessibility & contrast

On white

6.79
#7A429D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A429D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A429D#FFFFFF#000000##FFFFFF
##7A429D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#395C9B
Tritanopia (blue-blind)
#765269
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a429d;
/* rgb */ color: rgb(122, 66, 157);
/* oklch */ color: oklch(48.9% 0.148 310.5);
Tailwind
colors: {
  custom: {
    50: '#a379ba',
    500: '#7a429d',
    950: '#000000',
  },
}
SCSS
$custom: #7a429d;
$custom-light: #a379ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a429d",
  "rgb": {
    "r": 122,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 276.923,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48859,
    "c": 0.14827,
    "h": 310.5
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#7A429D
secondary
#97B982
accent
#D15786
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A429D

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

Preview Lab → · Contrast checker → · Palette generator →

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