#7D29B6#7D29B6

#7D29B6 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.208 H 307.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7D29B6
RGBrgb(125, 41, 182)
HSLhsl(276, 63%, 44%)
HSVhsv(276, 77%, 71%)
CMYKcmyk(31.3%, 77.5%, 0%, 28.6%)
CIE-LABlab(36.60, 58.76, -58.41)
CIE-LCHlch(36.60, 82.85, 315.17°)
OKLaboklab(48% 0.1255 -0.1661)
OKLCHoklch(48% 0.208 307.1)
XYZxyz(17.6921, 9.3235, 45.1145)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29B6 #62B629
analogous
#3629B6 #7D29B6 #B629A8
triadic
#7D29B6 #B67D29 #29B67D
tetradic
#7D29B6 #B63629 #62B629 #29A8B6
square
#7D29B6 #B63629 #62B629 #29A8B6
split-complementary
#7D29B6 #A8B629 #29B636
monochromatic
#381252 #5B1E84 #7D29B6 #9C47D5 #B779E1

Accessibility & contrast

On white

7.33
#7D29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7D29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29B6
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29B6#FFFFFF#000000##FFFFFF
##7D29B61.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#734D6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d29b6;
/* rgb */ color: rgb(125, 41, 182);
/* oklch */ color: oklch(48.0% 0.208 307.1);
Tailwind
colors: {
  custom: {
    50: '#a86ccd',
    500: '#7d29b6',
    950: '#000000',
  },
}
SCSS
$custom: #7d29b6;
$custom-light: #a86ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29b6",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 275.745,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.2082,
    "h": 307.1
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#7D29B6
secondary
#95C972
accent
#E64284
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7D29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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