#7A29AB#7A29AB

#7A29AB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.197 H 308.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7A29AB
RGBrgb(122, 41, 171)
HSLhsl(277, 61%, 42%)
HSVhsv(277, 76%, 67%)
CMYKcmyk(28.7%, 76%, 0%, 32.9%)
CIE-LABlab(35.33, 55.79, -53.95)
CIE-LCHlch(35.33, 77.61, 315.96°)
OKLaboklab(46.76% 0.1237 -0.1531)
OKLCHoklch(46.76% 0.197 308.9)
XYZxyz(16.1682, 8.6640, 39.3408)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29AB #5AAB29
analogous
#3929AB #7A29AB #AB299B
triadic
#7A29AB #AB7A29 #29AB7A
tetradic
#7A29AB #AB3929 #5AAB29 #299BAB
square
#7A29AB #AB3929 #5AAB29 #299BAB
split-complementary
#7A29AB #9BAB29 #29AB39
monochromatic
#341148 #571D7A #7A29AB #9A40D1 #B471DD

Accessibility & contrast

On white

7.68
#7A29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A29AB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29AB#FFFFFF#000000##FFFFFF
##7A29AB1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#724869
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a29ab;
/* rgb */ color: rgb(122, 41, 171);
/* oklch */ color: oklch(46.8% 0.197 308.9);
Tailwind
colors: {
  custom: {
    50: '#a56cc5',
    500: '#7a29ab',
    950: '#000000',
  },
}
SCSS
$custom: #7a29ab;
$custom-light: #a56cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29ab",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 277.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46755,
    "c": 0.19685,
    "h": 308.9
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#7A29AB
secondary
#8DC46C
accent
#E44380
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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