#7E29BD#7E29BD

#7E29BD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.215 H 305.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7E29BD
RGBrgb(126, 41, 189)
HSLhsl(274, 64%, 45%)
HSVhsv(274, 78%, 74%)
CMYKcmyk(33.3%, 78.3%, 0%, 25.9%)
CIE-LABlab(37.29, 60.48, -61.41)
CIE-LCHlch(37.29, 86.20, 314.56°)
OKLaboklab(48.69% 0.1252 -0.1749)
OKLCHoklch(48.69% 0.215 305.6)
XYZxyz(18.5804, 9.6958, 49.0269)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29BD #68BD29
analogous
#3429BD #7E29BD #BD29B2
triadic
#7E29BD #BD7E29 #29BD7E
tetradic
#7E29BD #BD3429 #68BD29 #29B2BD
square
#7E29BD #BD3429 #68BD29 #29B2BD
split-complementary
#7E29BD #B2BD29 #29BD34
monochromatic
#3B1358 #5C1E8B #7E29BD #9C4BD8 #B87DE3

Accessibility & contrast

On white

7.14
#7E29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7E29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29BD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29BD#FFFFFF#000000##FFFFFF
##7E29BD1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#725073
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e29bd;
/* rgb */ color: rgb(126, 41, 189);
/* oklch */ color: oklch(48.7% 0.215 305.6);
Tailwind
colors: {
  custom: {
    50: '#a96dd2',
    500: '#7e29bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e29bd;
$custom-light: #a96dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29bd",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 274.459,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.2151,
    "h": 305.6
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#7E29BD
secondary
#9BCB77
accent
#E74087
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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