#7E29AA#7E29AA

#7E29AA is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.197 H 311.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7E29AA
RGBrgb(126, 41, 170)
HSLhsl(280, 61%, 41%)
HSVhsv(280, 76%, 67%)
CMYKcmyk(25.9%, 75.9%, 0%, 33.3%)
CIE-LABlab(35.84, 56.33, -52.50)
CIE-LCHlch(35.84, 77.01, 317.02°)
OKLaboklab(47.21% 0.1293 -0.1487)
OKLCHoklch(47.21% 0.197 311)
XYZxyz(16.6514, 8.9242, 38.8678)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29AA #55AA29
analogous
#3E29AA #7E29AA #AA2996
triadic
#7E29AA #AA7E29 #29AA7E
tetradic
#7E29AA #AA3E29 #55AA29 #2996AA
square
#7E29AA #AA3E29 #55AA29 #2996AA
split-complementary
#7E29AA #96AA29 #29AA3E
monochromatic
#351147 #591D79 #7E29AA #9F3FD1 #B871DD

Accessibility & contrast

On white

7.54
#7E29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7E29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29AA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29AA#FFFFFF#000000##FFFFFF
##7E29AA1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0D56A7
Tritanopia (blue-blind)
#784768
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e29aa;
/* rgb */ color: rgb(126, 41, 170);
/* oklch */ color: oklch(47.2% 0.197 311.0);
Tailwind
colors: {
  custom: {
    50: '#a86cc4',
    500: '#7e29aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e29aa;
$custom-light: #a86cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29aa",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 279.535,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.19707,
    "h": 311
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#7E29AA
secondary
#89C46B
accent
#E4447A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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