#7A29BD#7A29BD

#7A29BD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.214 H 303.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7A29BD
RGBrgb(122, 41, 189)
HSLhsl(273, 64%, 45%)
HSVhsv(273, 78%, 74%)
CMYKcmyk(35.4%, 78.3%, 0%, 25.9%)
CIE-LABlab(36.74, 59.82, -62.34)
CIE-LCHlch(36.74, 86.40, 313.82°)
OKLaboklab(48.19% 0.1196 -0.1777)
OKLCHoklch(48.19% 0.214 303.9)
XYZxyz(18.0021, 9.3976, 48.9998)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29BD #6CBD29
analogous
#3029BD #7A29BD #BD29B6
triadic
#7A29BD #BD7A29 #29BD7A
tetradic
#7A29BD #BD3029 #6CBD29 #29B6BD
square
#7A29BD #BD3029 #6CBD29 #29B6BD
split-complementary
#7A29BD #B6BD29 #29BD30
monochromatic
#391358 #5A1E8B #7A29BD #984BD8 #B57DE3

Accessibility & contrast

On white

7.29
#7A29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7A29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29BD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29BD#FFFFFF#000000##FFFFFF
##7A29BD1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#6D5073
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a29bd;
/* rgb */ color: rgb(122, 41, 189);
/* oklch */ color: oklch(48.2% 0.214 303.9);
Tailwind
colors: {
  custom: {
    50: '#a76cd2',
    500: '#7a29bd',
    950: '#000000',
  },
}
SCSS
$custom: #7a29bd;
$custom-light: #a76cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29bd",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 272.838,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.21424,
    "h": 303.9
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#7A29BD
secondary
#9DCB77
accent
#E7408C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7A29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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