#7C29B9#7C29B9

#7C29B9 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.211 H 305.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7C29B9
RGBrgb(124, 41, 185)
HSLhsl(275, 64%, 44%)
HSVhsv(275, 78%, 73%)
CMYKcmyk(33%, 77.8%, 0%, 27.5%)
CIE-LABlab(36.69, 59.25, -60.04)
CIE-LCHlch(36.69, 84.35, 314.62°)
OKLaboklab(48.11% 0.1234 -0.1709)
OKLCHoklch(48.11% 0.211 305.8)
XYZxyz(17.8601, 9.3739, 46.7580)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29B9 #66B929
analogous
#3429B9 #7C29B9 #B929AE
triadic
#7C29B9 #B97C29 #29B97C
tetradic
#7C29B9 #B93429 #66B929 #29AEB9
square
#7C29B9 #B93429 #66B929 #29AEB9
split-complementary
#7C29B9 #AEB929 #29B934
monochromatic
#391355 #5A1E87 #7C29B9 #9A49D7 #B67BE2

Accessibility & contrast

On white

7.30
#7C29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7C29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29B9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29B9#FFFFFF#000000##FFFFFF
##7C29B91.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#714E71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c29b9;
/* rgb */ color: rgb(124, 41, 185);
/* oklch */ color: oklch(48.1% 0.211 305.8);
Tailwind
colors: {
  custom: {
    50: '#a86ccf',
    500: '#7c29b9',
    950: '#000000',
  },
}
SCSS
$custom: #7c29b9;
$custom-light: #a86ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29b9",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 274.583,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48112,
    "c": 0.21083,
    "h": 305.8
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#7C29B9
secondary
#98CA74
accent
#E74187
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7C29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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