#7A29AC#7A29AC

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

Color values

HEX#7A29AC
RGBrgb(122, 41, 172)
HSLhsl(277, 62%, 42%)
HSVhsv(277, 76%, 67%)
CMYKcmyk(29.1%, 76.2%, 0%, 32.5%)
CIE-LABlab(35.40, 56.01, -54.43)
CIE-LCHlch(35.40, 78.10, 315.82°)
OKLaboklab(46.83% 0.1235 -0.1545)
OKLCHoklch(46.83% 0.198 308.6)
XYZxyz(16.2638, 8.7023, 39.8447)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29AC #5BAC29
analogous
#3929AC #7A29AC #AC299D
triadic
#7A29AC #AC7A29 #29AC7A
tetradic
#7A29AC #AC3929 #5BAC29 #299DAC
square
#7A29AC #AC3929 #5BAC29 #299DAC
split-complementary
#7A29AC #9DAC29 #29AC39
monochromatic
#341149 #571D7B #7A29AC #9A41D2 #B472DD

Accessibility & contrast

On white

7.66
#7A29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7A29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29AC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29AC#FFFFFF#000000##FFFFFF
##7A29AC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#724969
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a29ac;
/* rgb */ color: rgb(122, 41, 172);
/* oklch */ color: oklch(46.8% 0.198 308.6);
Tailwind
colors: {
  custom: {
    50: '#a56cc6',
    500: '#7a29ac',
    950: '#000000',
  },
}
SCSS
$custom: #7a29ac;
$custom-light: #a56cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29ac",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 277.099,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.19781,
    "h": 308.6
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#7A29AC
secondary
#8EC56C
accent
#E54381
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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