#7E29BC#7E29BC

#7E29BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.214 H 305.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7E29BC
RGBrgb(126, 41, 188)
HSLhsl(275, 64%, 45%)
HSVhsv(275, 78%, 74%)
CMYKcmyk(33%, 78.2%, 0%, 26.3%)
CIE-LABlab(37.21, 60.26, -60.95)
CIE-LCHlch(37.21, 85.71, 314.67°)
OKLaboklab(48.61% 0.1255 -0.1735)
OKLCHoklch(48.61% 0.214 305.9)
XYZxyz(18.4722, 9.6525, 48.4572)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E29BC #67BC29
analogous
#3529BC #7E29BC #BC29B0
triadic
#7E29BC #BC7E29 #29BC7E
tetradic
#7E29BC #BC3529 #67BC29 #29B0BC
square
#7E29BC #BC3529 #67BC29 #29B0BC
split-complementary
#7E29BC #B0BC29 #29BC35
monochromatic
#3B1358 #5C1E8A #7E29BC #9C4BD8 #B87DE3

Accessibility & contrast

On white

7.17
#7E29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7E29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E29BC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E29BC#FFFFFF#000000##FFFFFF
##7E29BC1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#734F72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e29bc;
/* rgb */ color: rgb(126, 41, 188);
/* oklch */ color: oklch(48.6% 0.214 305.9);
Tailwind
colors: {
  custom: {
    50: '#a96dd1',
    500: '#7e29bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e29bc;
$custom-light: #a96dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e29bc",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 274.694,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.21415,
    "h": 305.9
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#7E29BC
secondary
#9ACB76
accent
#E74187
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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