#7E29B7#7E29B7

#7E29B7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.209 H 307.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7E29B7
RGBrgb(126, 41, 183)
HSLhsl(276, 63%, 44%)
HSVhsv(276, 78%, 72%)
CMYKcmyk(31.1%, 77.6%, 0%, 28.2%)
CIE-LABlab(36.82, 59.16, -58.64)
CIE-LCHlch(36.82, 83.30, 315.25°)
OKLaboklab(48.21% 0.1267 -0.1667)
OKLCHoklch(48.21% 0.209 307.2)
XYZxyz(17.9425, 9.4406, 45.6676)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29B7 #62B729
analogous
#3729B7 #7E29B7 #B729A9
triadic
#7E29B7 #B77E29 #29B77E
tetradic
#7E29B7 #B73729 #62B729 #29A9B7
square
#7E29B7 #B73729 #62B729 #29A9B7
split-complementary
#7E29B7 #A9B729 #29B737
monochromatic
#391353 #5C1E85 #7E29B7 #9D47D6 #B779E1

Accessibility & contrast

On white

7.27
#7E29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7E29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29B7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29B7#FFFFFF#000000##FFFFFF
##7E29B71.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#744D6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e29b7;
/* rgb */ color: rgb(126, 41, 183);
/* oklch */ color: oklch(48.2% 0.209 307.2);
Tailwind
colors: {
  custom: {
    50: '#a96dce',
    500: '#7e29b7',
    950: '#000000',
  },
}
SCSS
$custom: #7e29b7;
$custom-light: #a96dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29b7",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 275.915,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.2094,
    "h": 307.2
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#7E29B7
secondary
#95C973
accent
#E64184
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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