#7A29AA#7A29AA

#7A29AA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.196 H 309.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7A29AA
RGBrgb(122, 41, 170)
HSLhsl(278, 61%, 41%)
HSVhsv(278, 76%, 67%)
CMYKcmyk(28.2%, 75.9%, 0%, 33.3%)
CIE-LABlab(35.25, 55.58, -53.47)
CIE-LCHlch(35.25, 77.12, 316.10°)
OKLaboklab(46.68% 0.1239 -0.1517)
OKLCHoklch(46.68% 0.196 309.2)
XYZxyz(16.0732, 8.6260, 38.8407)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29AA #59AA29
analogous
#3A29AA #7A29AA #AA299A
triadic
#7A29AA #AA7A29 #29AA7A
tetradic
#7A29AA #AA3A29 #59AA29 #299AAA
square
#7A29AA #AA3A29 #59AA29 #299AAA
split-complementary
#7A29AA #9AAA29 #29AA3A
monochromatic
#331147 #571D79 #7A29AA #9B3FD1 #B571DD

Accessibility & contrast

On white

7.71
#7A29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7A29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29AA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29AA#FFFFFF#000000##FFFFFF
##7A29AA1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#734868
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a29aa;
/* rgb */ color: rgb(122, 41, 170);
/* oklch */ color: oklch(46.7% 0.196 309.2);
Tailwind
colors: {
  custom: {
    50: '#a56bc4',
    500: '#7a29aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a29aa;
$custom-light: #a56bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29aa",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 277.674,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.19588,
    "h": 309.2
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#7A29AA
secondary
#8CC46B
accent
#E4447F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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