#7C29B1#7C29B1

#7C29B1 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.203 H 308.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7C29B1
RGBrgb(124, 41, 177)
HSLhsl(277, 62%, 43%)
HSVhsv(277, 77%, 69%)
CMYKcmyk(29.9%, 76.8%, 0%, 30.6%)
CIE-LABlab(36.07, 57.48, -56.31)
CIE-LCHlch(36.07, 80.47, 315.59°)
OKLaboklab(47.48% 0.1252 -0.16)
OKLCHoklch(47.48% 0.203 308.1)
XYZxyz(17.0393, 9.0456, 42.4348)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29B1 #5EB129
analogous
#3829B1 #7C29B1 #B129A2
triadic
#7C29B1 #B17C29 #29B17C
tetradic
#7C29B1 #B13829 #5EB129 #29A2B1
square
#7C29B1 #B13829 #5EB129 #29A2B1
split-complementary
#7C29B1 #A2B129 #29B138
monochromatic
#36124E #591D7F #7C29B1 #9B44D4 #B675DF

Accessibility & contrast

On white

7.48
#7C29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7C29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29B1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29B1#FFFFFF#000000##FFFFFF
##7C29B11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#734B6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c29b1;
/* rgb */ color: rgb(124, 41, 177);
/* oklch */ color: oklch(47.5% 0.203 308.1);
Tailwind
colors: {
  custom: {
    50: '#a76cc9',
    500: '#7c29b1',
    950: '#000000',
  },
}
SCSS
$custom: #7c29b1;
$custom-light: #a76cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29b1",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 276.618,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.20316,
    "h": 308.1
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#7C29B1
secondary
#91C76F
accent
#E54282
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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