#7E29B8#7E29B8

#7E29B8 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.210 H 306.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7E29B8
RGBrgb(126, 41, 184)
HSLhsl(276, 64%, 44%)
HSVhsv(276, 78%, 72%)
CMYKcmyk(31.5%, 77.7%, 0%, 27.8%)
CIE-LABlab(36.90, 59.38, -59.11)
CIE-LCHlch(36.90, 83.78, 315.13°)
OKLaboklab(48.29% 0.1264 -0.1681)
OKLCHoklch(48.29% 0.21 306.9)
XYZxyz(18.0470, 9.4824, 46.2177)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29B8 #63B829
analogous
#3629B8 #7E29B8 #B829AB
triadic
#7E29B8 #B87E29 #29B87E
tetradic
#7E29B8 #B83629 #63B829 #29ABB8
square
#7E29B8 #B83629 #63B829 #29ABB8
split-complementary
#7E29B8 #ABB829 #29B836
monochromatic
#391354 #5C1E86 #7E29B8 #9D48D6 #B77AE1

Accessibility & contrast

On white

7.25
#7E29B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7E29B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29B8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29B8#FFFFFF#000000##FFFFFF
##7E29B81.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#744D70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e29b8;
/* rgb */ color: rgb(126, 41, 184);
/* oklch */ color: oklch(48.3% 0.210 306.9);
Tailwind
colors: {
  custom: {
    50: '#a96dce',
    500: '#7e29b8',
    950: '#000000',
  },
}
SCSS
$custom: #7e29b8;
$custom-light: #a96dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29b8",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 275.664,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.21035,
    "h": 306.9
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#7E29B8
secondary
#96C973
accent
#E74184
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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