#7D29B8#7D29B8

#7D29B8 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.210 H 306.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7D29B8
RGBrgb(125, 41, 184)
HSLhsl(275, 64%, 44%)
HSVhsv(275, 78%, 72%)
CMYKcmyk(32.1%, 77.7%, 0%, 27.8%)
CIE-LABlab(36.76, 59.20, -59.34)
CIE-LCHlch(36.76, 83.82, 314.93°)
OKLaboklab(48.16% 0.1251 -0.1688)
OKLCHoklch(48.16% 0.21 306.5)
XYZxyz(17.9002, 9.4067, 46.2108)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29B8 #64B829
analogous
#3629B8 #7D29B8 #B829AC
triadic
#7D29B8 #B87D29 #29B87D
tetradic
#7D29B8 #B83629 #64B829 #29ACB8
square
#7D29B8 #B83629 #64B829 #29ACB8
split-complementary
#7D29B8 #ACB829 #29B836
monochromatic
#391354 #5B1E86 #7D29B8 #9C48D6 #B77AE1

Accessibility & contrast

On white

7.29
#7D29B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7D29B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29B8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29B8#FFFFFF#000000##FFFFFF
##7D29B81.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#734E70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d29b8;
/* rgb */ color: rgb(125, 41, 184);
/* oklch */ color: oklch(48.2% 0.210 306.5);
Tailwind
colors: {
  custom: {
    50: '#a86cce',
    500: '#7d29b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d29b8;
$custom-light: #a86cce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29b8",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 275.245,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.21011,
    "h": 306.5
  },
  "luminance": 0.09407
}

Semantic roles & 50–950 ramp

primary
#7D29B8
secondary
#97C973
accent
#E74185
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7D29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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