#7E29A9#7E29A9

#7E29A9 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.196 H 311.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7E29A9
RGBrgb(126, 41, 169)
HSLhsl(280, 61%, 41%)
HSVhsv(280, 76%, 66%)
CMYKcmyk(25.4%, 75.7%, 0%, 33.7%)
CIE-LABlab(35.76, 56.12, -52.02)
CIE-LCHlch(35.76, 76.52, 317.17°)
OKLaboklab(47.14% 0.1295 -0.1473)
OKLCHoklch(47.14% 0.196 311.3)
XYZxyz(16.5572, 8.8865, 38.3715)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29A9 #54A929
analogous
#3E29A9 #7E29A9 #A92994
triadic
#7E29A9 #A97E29 #29A97E
tetradic
#7E29A9 #A93E29 #54A929 #2994A9
square
#7E29A9 #A93E29 #54A929 #2994A9
split-complementary
#7E29A9 #94A929 #29A93E
monochromatic
#351146 #591D78 #7E29A9 #9F3FD0 #B870DC

Accessibility & contrast

On white

7.56
#7E29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E29A9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29A9#FFFFFF#000000##FFFFFF
##7E29A91.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#1056A6
Tritanopia (blue-blind)
#784767
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e29a9;
/* rgb */ color: rgb(126, 41, 169);
/* oklch */ color: oklch(47.1% 0.196 311.3);
Tailwind
colors: {
  custom: {
    50: '#a86cc3',
    500: '#7e29a9',
    950: '#000000',
  },
}
SCSS
$custom: #7e29a9;
$custom-light: #a86cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29a9",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 279.844,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.19612,
    "h": 311.3
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#7E29A9
secondary
#88C36A
accent
#E4447A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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