#7A29B2#7A29B2

#7A29B2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.204 H 306.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7A29B2
RGBrgb(122, 41, 178)
HSLhsl(275, 63%, 43%)
HSVhsv(275, 77%, 70%)
CMYKcmyk(31.5%, 77%, 0%, 30.2%)
CIE-LABlab(35.86, 57.34, -57.25)
CIE-LCHlch(35.86, 81.03, 315.05°)
OKLaboklab(47.3% 0.1223 -0.1628)
OKLCHoklch(47.3% 0.204 306.9)
XYZxyz(16.8531, 8.9380, 42.9482)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29B2 #61B229
analogous
#3529B2 #7A29B2 #B229A6
triadic
#7A29B2 #B27A29 #29B27A
tetradic
#7A29B2 #B23529 #61B229 #29A6B2
square
#7A29B2 #B23529 #61B229 #29A6B2
split-complementary
#7A29B2 #A6B229 #29B235
monochromatic
#36124F #581E80 #7A29B2 #9944D4 #B476DF

Accessibility & contrast

On white

7.53
#7A29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7A29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29B2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29B2#FFFFFF#000000##FFFFFF
##7A29B21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#704B6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a29b2;
/* rgb */ color: rgb(122, 41, 178);
/* oklch */ color: oklch(47.3% 0.204 306.9);
Tailwind
colors: {
  custom: {
    50: '#a66cca',
    500: '#7a29b2',
    950: '#000000',
  },
}
SCSS
$custom: #7a29b2;
$custom-light: #a66cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29b2",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 275.474,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.473,
    "c": 0.20361,
    "h": 306.9
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#7A29B2
secondary
#93C770
accent
#E64285
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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