#7E29C5#7E29C5

#7E29C5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.223 H 303.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7E29C5
RGBrgb(126, 41, 197)
HSLhsl(273, 66%, 47%)
HSVhsv(273, 79%, 77%)
CMYKcmyk(36%, 79.2%, 0%, 22.7%)
CIE-LABlab(37.94, 62.27, -65.05)
CIE-LCHlch(37.94, 90.05, 313.75°)
OKLaboklab(49.34% 0.1232 -0.1856)
OKLCHoklch(49.34% 0.223 303.6)
XYZxyz(19.4728, 10.0527, 53.7270)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29C5 #70C529
analogous
#3029C5 #7E29C5 #C529BE
triadic
#7E29C5 #C57E29 #29C57E
tetradic
#7E29C5 #C53029 #70C529 #29BEC5
square
#7E29C5 #C53029 #70C529 #29BEC5
split-complementary
#7E29C5 #BEC529 #29C530
monochromatic
#3D1460 #5E1E92 #7E29C5 #9C51DB #B983E5

Accessibility & contrast

On white

6.98
#7E29C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7E29C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E29C5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29C5#FFFFFF#000000##FFFFFF
##7E29C51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e29c5;
/* rgb */ color: rgb(126, 41, 197);
/* oklch */ color: oklch(49.3% 0.223 303.6);
Tailwind
colors: {
  custom: {
    50: '#aa6dd8',
    500: '#7e29c5',
    950: '#000000',
  },
}
SCSS
$custom: #7e29c5;
$custom-light: #aa6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29c5",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 272.692,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.22272,
    "h": 303.6
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#7E29C5
secondary
#A1CE7C
accent
#E83F8C
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110815
muted
#807A83

Preview Lab

Preview with #7E29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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