#7A29B7#7A29B7

#7A29B7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.208 H 305.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7A29B7
RGBrgb(122, 41, 183)
HSLhsl(274, 63%, 44%)
HSVhsv(274, 78%, 72%)
CMYKcmyk(33.3%, 77.6%, 0%, 28.2%)
CIE-LABlab(36.26, 58.46, -59.58)
CIE-LCHlch(36.26, 83.47, 314.46°)
OKLaboklab(47.7% 0.1211 -0.1696)
OKLCHoklch(47.7% 0.208 305.5)
XYZxyz(17.3643, 9.1425, 45.6405)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29B7 #66B729
analogous
#3329B7 #7A29B7 #B729AD
triadic
#7A29B7 #B77A29 #29B77A
tetradic
#7A29B7 #B73329 #66B729 #29ADB7
square
#7A29B7 #B73329 #66B729 #29ADB7
split-complementary
#7A29B7 #ADB729 #29B733
monochromatic
#371353 #591E85 #7A29B7 #9947D6 #B579E1

Accessibility & contrast

On white

7.42
#7A29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7A29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29B7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29B7#FFFFFF#000000##FFFFFF
##7A29B71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#6F4E6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a29b7;
/* rgb */ color: rgb(122, 41, 183);
/* oklch */ color: oklch(47.7% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#a66cce',
    500: '#7a29b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a29b7;
$custom-light: #a66cce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29b7",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 274.225,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.20844,
    "h": 305.5
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#7A29B7
secondary
#98C973
accent
#E64188
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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