#7E29B0#7E29B0

#7E29B0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.203 H 309.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7E29B0
RGBrgb(126, 41, 176)
HSLhsl(278, 62%, 43%)
HSVhsv(278, 77%, 69%)
CMYKcmyk(28.4%, 76.7%, 0%, 31%)
CIE-LABlab(36.28, 57.63, -55.36)
CIE-LCHlch(36.28, 79.91, 316.15°)
OKLaboklab(47.67% 0.1282 -0.1571)
OKLCHoklch(47.67% 0.203 309.2)
XYZxyz(17.2320, 9.1564, 41.9255)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29B0 #5BB029
analogous
#3B29B0 #7E29B0 #B0299E
triadic
#7E29B0 #B07E29 #29B07E
tetradic
#7E29B0 #B03B29 #5BB029 #299EB0
square
#7E29B0 #B03B29 #5BB029 #299EB0
split-complementary
#7E29B0 #9EB029 #29B03B
monochromatic
#37124D #5A1D7E #7E29B0 #9E43D3 #B775DF

Accessibility & contrast

On white

7.42
#7E29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7E29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29B0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29B0#FFFFFF#000000##FFFFFF
##7E29B01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#764A6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e29b0;
/* rgb */ color: rgb(126, 41, 176);
/* oklch */ color: oklch(47.7% 0.203 309.2);
Tailwind
colors: {
  custom: {
    50: '#a86cc8',
    500: '#7e29b0',
    950: '#000000',
  },
}
SCSS
$custom: #7e29b0;
$custom-light: #a86cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29b0",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 277.778,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.20275,
    "h": 309.2
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#7E29B0
secondary
#8FC66F
accent
#E5437F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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