#7C29A9#7C29A9

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

Color values

HEX#7C29A9
RGBrgb(124, 41, 169)
HSLhsl(279, 61%, 41%)
HSVhsv(279, 76%, 66%)
CMYKcmyk(26.6%, 75.7%, 0%, 33.7%)
CIE-LABlab(35.47, 55.74, -52.51)
CIE-LCHlch(35.47, 76.58, 316.71°)
OKLaboklab(46.87% 0.1268 -0.1488)
OKLCHoklch(46.87% 0.196 310.4)
XYZxyz(16.2652, 8.7359, 38.3578)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29A9 #56A929
analogous
#3C29A9 #7C29A9 #A92996
triadic
#7C29A9 #A97C29 #29A97C
tetradic
#7C29A9 #A93C29 #56A929 #2996A9
square
#7C29A9 #A93C29 #56A929 #2996A9
split-complementary
#7C29A9 #96A929 #29A93C
monochromatic
#341146 #581D78 #7C29A9 #9D3FD0 #B670DC

Accessibility & contrast

On white

7.64
#7C29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C29A9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29A9#FFFFFF#000000##FFFFFF
##7C29A91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0955A6
Tritanopia (blue-blind)
#764767
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c29a9;
/* rgb */ color: rgb(124, 41, 169);
/* oklch */ color: oklch(46.9% 0.196 310.4);
Tailwind
colors: {
  custom: {
    50: '#a66cc3',
    500: '#7c29a9',
    950: '#000000',
  },
}
SCSS
$custom: #7c29a9;
$custom-light: #a66cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29a9",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 278.906,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46869,
    "c": 0.19551,
    "h": 310.4
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#7C29A9
secondary
#8AC36A
accent
#E4447C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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