#7E29AF#7E29AF

#7E29AF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.202 H 309.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7E29AF
RGBrgb(126, 41, 175)
HSLhsl(278, 62%, 42%)
HSVhsv(278, 77%, 69%)
CMYKcmyk(28%, 76.6%, 0%, 31.4%)
CIE-LABlab(36.21, 57.41, -54.88)
CIE-LCHlch(36.21, 79.42, 316.29°)
OKLaboklab(47.59% 0.1284 -0.1557)
OKLCHoklch(47.59% 0.202 309.5)
XYZxyz(17.1334, 9.1170, 41.4063)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29AF #5AAF29
analogous
#3B29AF #7E29AF #AF299D
triadic
#7E29AF #AF7E29 #29AF7E
tetradic
#7E29AF #AF3B29 #5AAF29 #299DAF
square
#7E29AF #AF3B29 #5AAF29 #299DAF
split-complementary
#7E29AF #9DAF29 #29AF3B
monochromatic
#37124C #5A1D7D #7E29AF #9E42D3 #B874DE

Accessibility & contrast

On white

7.44
#7E29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7E29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29AF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29AF#FFFFFF#000000##FFFFFF
##7E29AF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#774A6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e29af;
/* rgb */ color: rgb(126, 41, 175);
/* oklch */ color: oklch(47.6% 0.202 309.5);
Tailwind
colors: {
  custom: {
    50: '#a86cc8',
    500: '#7e29af',
    950: '#000000',
  },
}
SCSS
$custom: #7e29af;
$custom-light: #a86cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29af",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 278.06,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.2018,
    "h": 309.5
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

primary
#7E29AF
secondary
#8EC66E
accent
#E5437E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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