#7C29C5#7C29C5

#7C29C5 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.222 H 302.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7C29C5
RGBrgb(124, 41, 197)
HSLhsl(272, 66%, 47%)
HSVhsv(272, 79%, 77%)
CMYKcmyk(37.1%, 79.2%, 0%, 22.7%)
CIE-LABlab(37.67, 61.96, -65.50)
CIE-LCHlch(37.67, 90.16, 313.41°)
OKLaboklab(49.09% 0.1203 -0.187)
OKLCHoklch(49.09% 0.222 302.8)
XYZxyz(19.1808, 9.9021, 53.7133)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29C5 #72C529
analogous
#2E29C5 #7C29C5 #C529C0
triadic
#7C29C5 #C57C29 #29C57C
tetradic
#7C29C5 #C52E29 #72C529 #29C0C5
square
#7C29C5 #C52E29 #72C529 #29C0C5
split-complementary
#7C29C5 #C0C529 #29C52E
monochromatic
#3C1460 #5C1E92 #7C29C5 #9A51DB #B783E5

Accessibility & contrast

On white

7.05
#7C29C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7C29C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29C5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29C5#FFFFFF#000000##FFFFFF
##7C29C51.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#6D5377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c29c5;
/* rgb */ color: rgb(124, 41, 197);
/* oklch */ color: oklch(49.1% 0.222 302.8);
Tailwind
colors: {
  custom: {
    50: '#a96dd8',
    500: '#7c29c5',
    950: '#000000',
  },
}
SCSS
$custom: #7c29c5;
$custom-light: #a96dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29c5",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 271.923,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.22234,
    "h": 302.8
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#7C29C5
secondary
#A2CE7C
accent
#E83F8E
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7C29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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