#7A29BA#7A29BA

#7A29BA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.211 H 304.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7A29BA
RGBrgb(122, 41, 186)
HSLhsl(274, 64%, 45%)
HSVhsv(274, 78%, 73%)
CMYKcmyk(34.4%, 78%, 0%, 27.1%)
CIE-LABlab(36.50, 59.14, -60.96)
CIE-LCHlch(36.50, 84.94, 314.13°)
OKLaboklab(47.94% 0.1204 -0.1737)
OKLCHoklch(47.94% 0.211 304.7)
XYZxyz(17.6799, 9.2687, 47.3025)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29BA #69BA29
analogous
#3129BA #7A29BA #BA29B2
triadic
#7A29BA #BA7A29 #29BA7A
tetradic
#7A29BA #BA3129 #69BA29 #29B2BA
square
#7A29BA #BA3129 #69BA29 #29B2BA
split-complementary
#7A29BA #B2BA29 #29BA31
monochromatic
#381356 #591E88 #7A29BA #9849D7 #B57BE2

Accessibility & contrast

On white

7.36
#7A29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7A29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29BA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29BA#FFFFFF#000000##FFFFFF
##7A29BA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#6E4F71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a29ba;
/* rgb */ color: rgb(122, 41, 186);
/* oklch */ color: oklch(47.9% 0.211 304.7);
Tailwind
colors: {
  custom: {
    50: '#a66cd0',
    500: '#7a29ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a29ba;
$custom-light: #a66cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29ba",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 273.517,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4794,
    "c": 0.21134,
    "h": 304.7
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#7A29BA
secondary
#9ACA75
accent
#E7418A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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