#7D29B7#7D29B7

#7D29B7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.209 H 306.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7D29B7
RGBrgb(125, 41, 183)
HSLhsl(275, 63%, 44%)
HSVhsv(275, 78%, 72%)
CMYKcmyk(31.7%, 77.6%, 0%, 28.2%)
CIE-LABlab(36.68, 58.98, -58.88)
CIE-LCHlch(36.68, 83.34, 315.05°)
OKLaboklab(48.08% 0.1253 -0.1675)
OKLCHoklch(48.08% 0.209 306.8)
XYZxyz(17.7958, 9.3650, 45.6607)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29B7 #63B729
analogous
#3629B7 #7D29B7 #B729AA
triadic
#7D29B7 #B77D29 #29B77D
tetradic
#7D29B7 #B73629 #63B729 #29AAB7
square
#7D29B7 #B73629 #63B729 #29AAB7
split-complementary
#7D29B7 #AAB729 #29B736
monochromatic
#391353 #5B1E85 #7D29B7 #9C47D6 #B779E1

Accessibility & contrast

On white

7.31
#7D29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7D29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29B7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29B7#FFFFFF#000000##FFFFFF
##7D29B71.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#734D6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d29b7;
/* rgb */ color: rgb(125, 41, 183);
/* oklch */ color: oklch(48.1% 0.209 306.8);
Tailwind
colors: {
  custom: {
    50: '#a86cce',
    500: '#7d29b7',
    950: '#000000',
  },
}
SCSS
$custom: #7d29b7;
$custom-light: #a86cce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29b7",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 275.493,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48081,
    "c": 0.20915,
    "h": 306.8
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#7D29B7
secondary
#96C973
accent
#E64185
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7D29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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