#7E29B1#7E29B1

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

Color values

HEX#7E29B1
RGBrgb(126, 41, 177)
HSLhsl(278, 62%, 43%)
HSVhsv(278, 77%, 69%)
CMYKcmyk(28.8%, 76.8%, 0%, 30.6%)
CIE-LABlab(36.36, 57.85, -55.83)
CIE-LCHlch(36.36, 80.39, 316.02°)
OKLaboklab(47.74% 0.128 -0.1585)
OKLCHoklch(47.74% 0.204 308.9)
XYZxyz(17.3313, 9.1961, 42.4485)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29B1 #5CB129
analogous
#3A29B1 #7E29B1 #B129A0
triadic
#7E29B1 #B17E29 #29B17E
tetradic
#7E29B1 #B13A29 #5CB129 #29A0B1
square
#7E29B1 #B13A29 #5CB129 #29A0B1
split-complementary
#7E29B1 #A0B129 #29B13A
monochromatic
#37124E #5B1D7F #7E29B1 #9E44D4 #B775DF

Accessibility & contrast

On white

7.40
#7E29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7E29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29B1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29B1#FFFFFF#000000##FFFFFF
##7E29B11.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#764A6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e29b1;
/* rgb */ color: rgb(126, 41, 177);
/* oklch */ color: oklch(47.7% 0.204 308.9);
Tailwind
colors: {
  custom: {
    50: '#a86cc9',
    500: '#7e29b1',
    950: '#000000',
  },
}
SCSS
$custom: #7e29b1;
$custom-light: #a86cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29b1",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 277.5,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.2037,
    "h": 308.9
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#7E29B1
secondary
#90C76F
accent
#E54280
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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