#7C29B5#7C29B5

#7C29B5 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.207 H 306.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7C29B5
RGBrgb(124, 41, 181)
HSLhsl(276, 63%, 44%)
HSVhsv(276, 77%, 71%)
CMYKcmyk(31.5%, 77.3%, 0%, 29%)
CIE-LABlab(36.38, 58.37, -58.18)
CIE-LCHlch(36.38, 82.41, 315.09°)
OKLaboklab(47.79% 0.1244 -0.1655)
OKLCHoklch(47.79% 0.207 306.9)
XYZxyz(17.4438, 9.2074, 44.5653)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29B5 #62B529
analogous
#3629B5 #7C29B5 #B529A8
triadic
#7C29B5 #B57C29 #29B57C
tetradic
#7C29B5 #B53629 #62B529 #29A8B5
square
#7C29B5 #B53629 #62B529 #29A8B5
split-complementary
#7C29B5 #A8B529 #29B536
monochromatic
#381251 #5A1E83 #7C29B5 #9B46D5 #B678E0

Accessibility & contrast

On white

7.39
#7C29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7C29B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29B5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29B5#FFFFFF#000000##FFFFFF
##7C29B51.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#724C6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c29b5;
/* rgb */ color: rgb(124, 41, 181);
/* oklch */ color: oklch(47.8% 0.207 306.9);
Tailwind
colors: {
  custom: {
    50: '#a76ccc',
    500: '#7c29b5',
    950: '#000000',
  },
}
SCSS
$custom: #7c29b5;
$custom-light: #a76ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29b5",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 275.571,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.20699,
    "h": 306.9
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#7C29B5
secondary
#95C872
accent
#E64285
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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