#7E29B6#7E29B6

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

Color values

HEX#7E29B6
RGBrgb(126, 41, 182)
HSLhsl(276, 63%, 44%)
HSVhsv(276, 77%, 71%)
CMYKcmyk(30.8%, 77.5%, 0%, 28.6%)
CIE-LABlab(36.74, 58.94, -58.18)
CIE-LCHlch(36.74, 82.81, 315.37°)
OKLaboklab(48.13% 0.1269 -0.1654)
OKLCHoklch(48.13% 0.208 307.5)
XYZxyz(17.8388, 9.3991, 45.1214)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29B6 #61B629
analogous
#3729B6 #7E29B6 #B629A7
triadic
#7E29B6 #B67E29 #29B67E
tetradic
#7E29B6 #B63729 #61B629 #29A7B6
square
#7E29B6 #B63729 #61B629 #29A7B6
split-complementary
#7E29B6 #A7B629 #29B637
monochromatic
#391252 #5B1E84 #7E29B6 #9D47D5 #B779E1

Accessibility & contrast

On white

7.29
#7E29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7E29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29B6
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29B6#FFFFFF#000000##FFFFFF
##7E29B61.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#754D6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e29b6;
/* rgb */ color: rgb(126, 41, 182);
/* oklch */ color: oklch(48.1% 0.208 307.5);
Tailwind
colors: {
  custom: {
    50: '#a96dcd',
    500: '#7e29b6',
    950: '#000000',
  },
}
SCSS
$custom: #7e29b6;
$custom-light: #a96dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29b6",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 276.17,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48131,
    "c": 0.20844,
    "h": 307.5
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#7E29B6
secondary
#95C972
accent
#E64283
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7E29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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