#7C29AA#7C29AA

#7C29AA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.196 H 310.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7C29AA
RGBrgb(124, 41, 170)
HSLhsl(279, 61%, 41%)
HSVhsv(279, 76%, 67%)
CMYKcmyk(27.1%, 75.9%, 0%, 33.3%)
CIE-LABlab(35.54, 55.95, -52.99)
CIE-LCHlch(35.54, 77.06, 316.56°)
OKLaboklab(46.94% 0.1266 -0.1502)
OKLCHoklch(46.94% 0.196 310.1)
XYZxyz(16.3594, 8.7736, 38.8541)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29AA #57AA29
analogous
#3C29AA #7C29AA #AA2998
triadic
#7C29AA #AA7C29 #29AA7C
tetradic
#7C29AA #AA3C29 #57AA29 #2998AA
square
#7C29AA #AA3C29 #57AA29 #2998AA
split-complementary
#7C29AA #98AA29 #29AA3C
monochromatic
#341147 #581D79 #7C29AA #9D3FD1 #B671DD

Accessibility & contrast

On white

7.62
#7C29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7C29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29AA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29AA#FFFFFF#000000##FFFFFF
##7C29AA1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0555A7
Tritanopia (blue-blind)
#754868
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c29aa;
/* rgb */ color: rgb(124, 41, 170);
/* oklch */ color: oklch(46.9% 0.196 310.1);
Tailwind
colors: {
  custom: {
    50: '#a76cc4',
    500: '#7c29aa',
    950: '#000000',
  },
}
SCSS
$custom: #7c29aa;
$custom-light: #a76cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29aa",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 278.605,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.19646,
    "h": 310.1
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#7C29AA
secondary
#8BC46B
accent
#E4447D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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