#7D29C5#7D29C5

#7D29C5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.223 H 303.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7D29C5
RGBrgb(125, 41, 197)
HSLhsl(272, 66%, 47%)
HSVhsv(272, 79%, 77%)
CMYKcmyk(36.5%, 79.2%, 0%, 22.7%)
CIE-LABlab(37.80, 62.11, -65.28)
CIE-LCHlch(37.80, 90.11, 313.58°)
OKLaboklab(49.22% 0.1217 -0.1863)
OKLCHoklch(49.22% 0.223 303.2)
XYZxyz(19.3260, 9.9771, 53.7201)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29C5 #71C529
analogous
#2F29C5 #7D29C5 #C529BF
triadic
#7D29C5 #C57D29 #29C57D
tetradic
#7D29C5 #C52F29 #71C529 #29BFC5
square
#7D29C5 #C52F29 #71C529 #29BFC5
split-complementary
#7D29C5 #BFC529 #29C52F
monochromatic
#3D1460 #5D1E92 #7D29C5 #9B51DB #B883E5

Accessibility & contrast

On white

7.01
#7D29C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7D29C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D29C5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29C5#FFFFFF#000000##FFFFFF
##7D29C51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#6E5377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d29c5;
/* rgb */ color: rgb(125, 41, 197);
/* oklch */ color: oklch(49.2% 0.223 303.2);
Tailwind
colors: {
  custom: {
    50: '#a96dd8',
    500: '#7d29c5',
    950: '#000000',
  },
}
SCSS
$custom: #7d29c5;
$custom-light: #a96dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29c5",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 272.308,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.22252,
    "h": 303.2
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#7D29C5
secondary
#A2CE7C
accent
#E83F8D
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110815
muted
#807A83

Preview Lab

Preview with #7D29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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