#7A29BC#7A29BC

#7A29BC is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.213 H 304.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7A29BC
RGBrgb(122, 41, 188)
HSLhsl(273, 64%, 45%)
HSVhsv(273, 78%, 74%)
CMYKcmyk(35.1%, 78.2%, 0%, 26.3%)
CIE-LABlab(36.66, 59.59, -61.88)
CIE-LCHlch(36.66, 85.91, 313.92°)
OKLaboklab(48.1% 0.1199 -0.1764)
OKLCHoklch(48.1% 0.213 304.2)
XYZxyz(17.8940, 9.3543, 48.4301)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29BC #6BBC29
analogous
#3029BC #7A29BC #BC29B5
triadic
#7A29BC #BC7A29 #29BC7A
tetradic
#7A29BC #BC3029 #6BBC29 #29B5BC
square
#7A29BC #BC3029 #6BBC29 #29B5BC
split-complementary
#7A29BC #B5BC29 #29BC30
monochromatic
#391358 #591E8A #7A29BC #984BD8 #B57DE3

Accessibility & contrast

On white

7.32
#7A29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7A29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29BC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29BC#FFFFFF#000000##FFFFFF
##7A29BC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#6D5072
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a29bc;
/* rgb */ color: rgb(122, 41, 188);
/* oklch */ color: oklch(48.1% 0.213 304.2);
Tailwind
colors: {
  custom: {
    50: '#a76cd1',
    500: '#7a29bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a29bc;
$custom-light: #a76cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29bc",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 273.061,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48103,
    "c": 0.21327,
    "h": 304.2
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#7A29BC
secondary
#9CCB76
accent
#E7418B
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7A29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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