#7E29AB#7E29AB

#7E29AB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.198 H 310.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7E29AB
RGBrgb(126, 41, 171)
HSLhsl(279, 61%, 42%)
HSVhsv(279, 76%, 67%)
CMYKcmyk(26.3%, 76%, 0%, 32.9%)
CIE-LABlab(35.91, 56.55, -52.98)
CIE-LCHlch(35.91, 77.49, 316.87°)
OKLaboklab(47.29% 0.1291 -0.1501)
OKLCHoklch(47.29% 0.198 310.7)
XYZxyz(16.7464, 8.9622, 39.3679)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29AB #56AB29
analogous
#3D29AB #7E29AB #AB2997
triadic
#7E29AB #AB7E29 #29AB7E
tetradic
#7E29AB #AB3D29 #56AB29 #2997AB
square
#7E29AB #AB3D29 #56AB29 #2997AB
split-complementary
#7E29AB #97AB29 #29AB3D
monochromatic
#351148 #5A1D7A #7E29AB #9F40D1 #B871DD

Accessibility & contrast

On white

7.52
#7E29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7E29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29AB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29AB#FFFFFF#000000##FFFFFF
##7E29AB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0956A8
Tritanopia (blue-blind)
#784869
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e29ab;
/* rgb */ color: rgb(126, 41, 171);
/* oklch */ color: oklch(47.3% 0.198 310.7);
Tailwind
colors: {
  custom: {
    50: '#a86cc5',
    500: '#7e29ab',
    950: '#000000',
  },
}
SCSS
$custom: #7e29ab;
$custom-light: #a86cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29ab",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 279.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.19801,
    "h": 310.7
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#7E29AB
secondary
#8AC46C
accent
#E4437B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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