#7D29AB#7D29AB

#7D29AB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.198 H 310.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7D29AB
RGBrgb(125, 41, 171)
HSLhsl(279, 61%, 42%)
HSVhsv(279, 76%, 67%)
CMYKcmyk(26.9%, 76%, 0%, 32.9%)
CIE-LABlab(35.76, 56.36, -53.22)
CIE-LCHlch(35.76, 77.52, 316.64°)
OKLaboklab(47.15% 0.1278 -0.1509)
OKLCHoklch(47.15% 0.198 310.3)
XYZxyz(16.5996, 8.8865, 39.3610)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29AB #57AB29
analogous
#3C29AB #7D29AB #AB2998
triadic
#7D29AB #AB7D29 #29AB7D
tetradic
#7D29AB #AB3C29 #57AB29 #2998AB
square
#7D29AB #AB3C29 #57AB29 #2998AB
split-complementary
#7D29AB #98AB29 #29AB3C
monochromatic
#351148 #591D7A #7D29AB #9E40D1 #B771DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D29AB#FFFFFF#000000##FFFFFF
##7D29AB1.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)
#0051AF
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#774869
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d29ab;
/* rgb */ color: rgb(125, 41, 171);
/* oklch */ color: oklch(47.2% 0.198 310.3);
Tailwind
colors: {
  custom: {
    50: '#a76cc5',
    500: '#7d29ab',
    950: '#000000',
  },
}
SCSS
$custom: #7d29ab;
$custom-light: #a76cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29ab",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 278.769,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.19772,
    "h": 310.3
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#7D29AB
secondary
#8BC46C
accent
#E4437C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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