#7A29A5#7A29A5

#7A29A5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.191 H 310.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7A29A5
RGBrgb(122, 41, 165)
HSLhsl(279, 60%, 40%)
HSVhsv(279, 75%, 65%)
CMYKcmyk(26.1%, 75.2%, 0%, 35.3%)
CIE-LABlab(34.88, 54.48, -51.07)
CIE-LCHlch(34.88, 74.68, 316.85°)
OKLaboklab(46.3% 0.1248 -0.1446)
OKLCHoklch(46.3% 0.191 310.8)
XYZxyz(15.6092, 8.4404, 36.3969)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29A5 #54A529
analogous
#3C29A5 #7A29A5 #A52992
triadic
#7A29A5 #A57A29 #29A57A
tetradic
#7A29A5 #A53C29 #54A529 #2992A5
square
#7A29A5 #A53C29 #54A529 #2992A5
split-complementary
#7A29A5 #92A529 #29A53C
monochromatic
#321143 #561D74 #7A29A5 #9C3DCF #B56EDB

Accessibility & contrast

On white

7.81
#7A29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7A29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29A5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29A5#FFFFFF#000000##FFFFFF
##7A29A51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0F53A2
Tritanopia (blue-blind)
#744665
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a29a5;
/* rgb */ color: rgb(122, 41, 165);
/* oklch */ color: oklch(46.3% 0.191 310.8);
Tailwind
colors: {
  custom: {
    50: '#a56bc0',
    500: '#7a29a5',
    950: '#000000',
  },
}
SCSS
$custom: #7a29a5;
$custom-light: #a56bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29a5",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 279.194,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.19106,
    "h": 310.8
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#7A29A5
secondary
#87C268
accent
#E3447C
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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