#7A29B1#7A29B1

#7A29B1 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.203 H 307.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7A29B1
RGBrgb(122, 41, 177)
HSLhsl(276, 62%, 43%)
HSVhsv(276, 77%, 69%)
CMYKcmyk(31.1%, 76.8%, 0%, 30.6%)
CIE-LABlab(35.79, 57.12, -56.79)
CIE-LCHlch(35.79, 80.55, 315.17°)
OKLaboklab(47.22% 0.1225 -0.1614)
OKLCHoklch(47.22% 0.203 307.2)
XYZxyz(16.7531, 8.8980, 42.4214)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A29B1 #60B129
analogous
#3629B1 #7A29B1 #B129A4
triadic
#7A29B1 #B17A29 #29B17A
tetradic
#7A29B1 #B13629 #60B129 #29A4B1
square
#7A29B1 #B13629 #60B129 #29A4B1
split-complementary
#7A29B1 #A4B129 #29B136
monochromatic
#36124E #581D7F #7A29B1 #9944D4 #B475DF

Accessibility & contrast

On white

7.56
#7A29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7A29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A29B1
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A29B1#FFFFFF#000000##FFFFFF
##7A29B11.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#714B6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a29b1;
/* rgb */ color: rgb(122, 41, 177);
/* oklch */ color: oklch(47.2% 0.203 307.2);
Tailwind
colors: {
  custom: {
    50: '#a66cc9',
    500: '#7a29b1',
    950: '#000000',
  },
}
SCSS
$custom: #7a29b1;
$custom-light: #a66cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a29b1",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 275.735,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47221,
    "c": 0.20264,
    "h": 307.2
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#7A29B1
secondary
#93C76F
accent
#E54284
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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