#7E29BA#7E29BA

#7E29BA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.212 H 306.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7E29BA
RGBrgb(126, 41, 186)
HSLhsl(275, 64%, 45%)
HSVhsv(275, 78%, 73%)
CMYKcmyk(32.3%, 78%, 0%, 27.1%)
CIE-LABlab(37.05, 59.82, -60.03)
CIE-LCHlch(37.05, 84.75, 314.90°)
OKLaboklab(48.45% 0.126 -0.1708)
OKLCHoklch(48.45% 0.212 306.4)
XYZxyz(18.2581, 9.5669, 47.3296)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29BA #65BA29
analogous
#3529BA #7E29BA #BA29AE
triadic
#7E29BA #BA7E29 #29BA7E
tetradic
#7E29BA #BA3529 #65BA29 #29AEBA
square
#7E29BA #BA3529 #65BA29 #29AEBA
split-complementary
#7E29BA #AEBA29 #29BA35
monochromatic
#3A1356 #5C1E88 #7E29BA #9C49D7 #B87BE2

Accessibility & contrast

On white

7.21
#7E29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7E29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29BA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29BA#FFFFFF#000000##FFFFFF
##7E29BA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#734E71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e29ba;
/* rgb */ color: rgb(126, 41, 186);
/* oklch */ color: oklch(48.4% 0.212 306.4);
Tailwind
colors: {
  custom: {
    50: '#a96dd0',
    500: '#7e29ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e29ba;
$custom-light: #a96dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29ba",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 275.172,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.21225,
    "h": 306.4
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#7E29BA
secondary
#98CA75
accent
#E74186
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #7E29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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