#7A29A6#7A29A6

#7A29A6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.192 H 310.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7A29A6
RGBrgb(122, 41, 166)
HSLhsl(279, 60%, 41%)
HSVhsv(279, 75%, 65%)
CMYKcmyk(26.5%, 75.3%, 0%, 34.9%)
CIE-LABlab(34.96, 54.70, -51.55)
CIE-LCHlch(34.96, 75.17, 316.70°)
OKLaboklab(46.38% 0.1247 -0.1461)
OKLCHoklch(46.38% 0.192 310.5)
XYZxyz(15.7006, 8.4770, 36.8781)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29A6 #55A629
analogous
#3C29A6 #7A29A6 #A62993
triadic
#7A29A6 #A67A29 #29A67A
tetradic
#7A29A6 #A63C29 #55A629 #2993A6
square
#7A29A6 #A63C29 #55A629 #2993A6
split-complementary
#7A29A6 #93A629 #29A63C
monochromatic
#321144 #561D75 #7A29A6 #9C3DCF #B56EDB

Accessibility & contrast

On white

7.79
#7A29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7A29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29A6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29A6#FFFFFF#000000##FFFFFF
##7A29A61.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0C53A3
Tritanopia (blue-blind)
#744666
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a29a6;
/* rgb */ color: rgb(122, 41, 166);
/* oklch */ color: oklch(46.4% 0.192 310.5);
Tailwind
colors: {
  custom: {
    50: '#a56bc1',
    500: '#7a29a6',
    950: '#000000',
  },
}
SCSS
$custom: #7a29a6;
$custom-light: #a56bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29a6",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 278.88,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.19203,
    "h": 310.5
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#7A29A6
secondary
#88C269
accent
#E4447C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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