#7A29B5#7A29B5

#7A29B5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.207 H 306.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7A29B5
RGBrgb(122, 41, 181)
HSLhsl(275, 63%, 44%)
HSVhsv(275, 77%, 71%)
CMYKcmyk(32.6%, 77.3%, 0%, 29%)
CIE-LABlab(36.10, 58.02, -58.65)
CIE-LCHlch(36.10, 82.50, 314.69°)
OKLaboklab(47.54% 0.1216 -0.1669)
OKLCHoklch(47.54% 0.207 306.1)
XYZxyz(17.1576, 9.0598, 44.5519)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29B5 #64B529
analogous
#3429B5 #7A29B5 #B529AA
triadic
#7A29B5 #B57A29 #29B57A
tetradic
#7A29B5 #B53429 #64B529 #29AAB5
square
#7A29B5 #B53429 #64B529 #29AAB5
split-complementary
#7A29B5 #AAB529 #29B534
monochromatic
#371251 #581E83 #7A29B5 #9946D5 #B478E0

Accessibility & contrast

On white

7.47
#7A29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7A29B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29B5
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29B5#FFFFFF#000000##FFFFFF
##7A29B51.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#6F4D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a29b5;
/* rgb */ color: rgb(122, 41, 181);
/* oklch */ color: oklch(47.5% 0.207 306.1);
Tailwind
colors: {
  custom: {
    50: '#a66ccc',
    500: '#7a29b5',
    950: '#000000',
  },
}
SCSS
$custom: #7a29b5;
$custom-light: #a66ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29b5",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 274.714,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.20651,
    "h": 306.1
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#7A29B5
secondary
#96C872
accent
#E64287
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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