#7A29A8#7A29A8

#7A29A8 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.194 H 309.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7A29A8
RGBrgb(122, 41, 168)
HSLhsl(278, 61%, 41%)
HSVhsv(278, 76%, 66%)
CMYKcmyk(27.4%, 75.6%, 0%, 34.1%)
CIE-LABlab(35.10, 55.14, -52.52)
CIE-LCHlch(35.10, 76.15, 316.39°)
OKLaboklab(46.53% 0.1243 -0.1489)
OKLCHoklch(46.53% 0.194 309.9)
XYZxyz(15.8855, 8.5509, 37.8519)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29A8 #57A829
analogous
#3A29A8 #7A29A8 #A82996
triadic
#7A29A8 #A87A29 #29A87A
tetradic
#7A29A8 #A83A29 #57A829 #2996A8
square
#7A29A8 #A83A29 #57A829 #2996A8
split-complementary
#7A29A8 #96A829 #29A83A
monochromatic
#331146 #561D77 #7A29A8 #9B3ED0 #B56FDC

Accessibility & contrast

On white

7.75
#7A29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7A29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29A8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29A8#FFFFFF#000000##FFFFFF
##7A29A81.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0454A5
Tritanopia (blue-blind)
#734767
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a29a8;
/* rgb */ color: rgb(122, 41, 168);
/* oklch */ color: oklch(46.5% 0.194 309.9);
Tailwind
colors: {
  custom: {
    50: '#a56bc3',
    500: '#7a29a8',
    950: '#000000',
  },
}
SCSS
$custom: #7a29a8;
$custom-light: #a56bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29a8",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 278.268,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46527,
    "c": 0.19395,
    "h": 309.9
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#7A29A8
secondary
#8AC36A
accent
#E4447E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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