#7C29B6#7C29B6

#7C29B6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.208 H 306.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7C29B6
RGBrgb(124, 41, 182)
HSLhsl(275, 63%, 44%)
HSVhsv(275, 77%, 71%)
CMYKcmyk(31.9%, 77.5%, 0%, 28.6%)
CIE-LABlab(36.46, 58.59, -58.65)
CIE-LCHlch(36.46, 82.90, 314.97°)
OKLaboklab(47.87% 0.1241 -0.1668)
OKLCHoklch(47.87% 0.208 306.7)
XYZxyz(17.5468, 9.2486, 45.1077)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29B6 #63B629
analogous
#3529B6 #7C29B6 #B629A9
triadic
#7C29B6 #B67C29 #29B67C
tetradic
#7C29B6 #B63529 #63B629 #29A9B6
square
#7C29B6 #B63529 #63B629 #29A9B6
split-complementary
#7C29B6 #A9B629 #29B635
monochromatic
#381252 #5A1E84 #7C29B6 #9B47D5 #B679E1

Accessibility & contrast

On white

7.37
#7C29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7C29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29B6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29B6#FFFFFF#000000##FFFFFF
##7C29B61.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c29b6;
/* rgb */ color: rgb(124, 41, 182);
/* oklch */ color: oklch(47.9% 0.208 306.7);
Tailwind
colors: {
  custom: {
    50: '#a76ccd',
    500: '#7c29b6',
    950: '#000000',
  },
}
SCSS
$custom: #7c29b6;
$custom-light: #a76ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29b6",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 275.319,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.20794,
    "h": 306.7
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#7C29B6
secondary
#96C972
accent
#E64285
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7C29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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