#7A29B3#7A29B3

#7A29B3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.205 H 306.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7A29B3
RGBrgb(122, 41, 179)
HSLhsl(275, 63%, 43%)
HSVhsv(275, 77%, 70%)
CMYKcmyk(31.8%, 77.1%, 0%, 29.8%)
CIE-LABlab(35.94, 57.57, -57.72)
CIE-LCHlch(35.94, 81.52, 314.92°)
OKLaboklab(47.38% 0.1221 -0.1642)
OKLCHoklch(47.38% 0.205 306.6)
XYZxyz(16.9539, 8.9783, 43.4789)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29B3 #62B329
analogous
#3529B3 #7A29B3 #B329A7
triadic
#7A29B3 #B37A29 #29B37A
tetradic
#7A29B3 #B33529 #62B329 #29A7B3
square
#7A29B3 #B33529 #62B329 #29A7B3
split-complementary
#7A29B3 #A7B329 #29B335
monochromatic
#36124F #581E81 #7A29B3 #9945D4 #B477E0

Accessibility & contrast

On white

7.51
#7A29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7A29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29B3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29B3#FFFFFF#000000##FFFFFF
##7A29B31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#704C6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a29b3;
/* rgb */ color: rgb(122, 41, 179);
/* oklch */ color: oklch(47.4% 0.205 306.6);
Tailwind
colors: {
  custom: {
    50: '#a66ccb',
    500: '#7a29b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a29b3;
$custom-light: #a66ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29b3",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 275.217,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.20458,
    "h": 306.6
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#7A29B3
secondary
#94C770
accent
#E64286
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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