#7E29B5#7E29B5

#7E29B5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.207 H 307.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7E29B5
RGBrgb(126, 41, 181)
HSLhsl(276, 63%, 44%)
HSVhsv(276, 77%, 71%)
CMYKcmyk(30.4%, 77.3%, 0%, 29%)
CIE-LABlab(36.66, 58.72, -57.71)
CIE-LCHlch(36.66, 82.33, 315.50°)
OKLaboklab(48.05% 0.1271 -0.164)
OKLCHoklch(48.05% 0.208 307.8)
XYZxyz(17.7358, 9.3580, 44.5790)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29B5 #60B529
analogous
#3829B5 #7E29B5 #B529A6
triadic
#7E29B5 #B57E29 #29B57E
tetradic
#7E29B5 #B53829 #60B529 #29A6B5
square
#7E29B5 #B53829 #60B529 #29A6B5
split-complementary
#7E29B5 #A6B529 #29B538
monochromatic
#391251 #5B1E83 #7E29B5 #9D46D5 #B778E0

Accessibility & contrast

On white

7.31
#7E29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7E29B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29B5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29B5#FFFFFF#000000##FFFFFF
##7E29B51.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#754C6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e29b5;
/* rgb */ color: rgb(126, 41, 181);
/* oklch */ color: oklch(48.1% 0.207 307.8);
Tailwind
colors: {
  custom: {
    50: '#a96ccc',
    500: '#7e29b5',
    950: '#000000',
  },
}
SCSS
$custom: #7e29b5;
$custom-light: #a96ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29b5",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 276.429,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48053,
    "c": 0.2075,
    "h": 307.8
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#7E29B5
secondary
#94C872
accent
#E64282
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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