#7C29B4#7C29B4

#7C29B4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.206 H 307.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7C29B4
RGBrgb(124, 41, 180)
HSLhsl(276, 63%, 43%)
HSVhsv(276, 77%, 71%)
CMYKcmyk(31.1%, 77.2%, 0%, 29.4%)
CIE-LABlab(36.30, 58.14, -57.72)
CIE-LCHlch(36.30, 81.93, 315.21°)
OKLaboklab(47.72% 0.1246 -0.1641)
OKLCHoklch(47.72% 0.206 307.2)
XYZxyz(17.3416, 9.1665, 44.0269)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29B4 #61B429
analogous
#3629B4 #7C29B4 #B429A6
triadic
#7C29B4 #B47C29 #29B47C
tetradic
#7C29B4 #B43629 #61B429 #29A6B4
square
#7C29B4 #B43629 #61B429 #29A6B4
split-complementary
#7C29B4 #A6B429 #29B436
monochromatic
#371250 #5A1E82 #7C29B4 #9B45D5 #B677E0

Accessibility & contrast

On white

7.41
#7C29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7C29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29B4
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29B4#FFFFFF#000000##FFFFFF
##7C29B41.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#724C6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c29b4;
/* rgb */ color: rgb(124, 41, 180);
/* oklch */ color: oklch(47.7% 0.206 307.2);
Tailwind
colors: {
  custom: {
    50: '#a76ccb',
    500: '#7c29b4',
    950: '#000000',
  },
}
SCSS
$custom: #7c29b4;
$custom-light: #a76ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29b4",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 275.827,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.20604,
    "h": 307.2
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#7C29B4
secondary
#94C871
accent
#E64284
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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