#7D29A8#7D29A8

#7D29A8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.195 H 311.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7D29A8
RGBrgb(125, 41, 168)
HSLhsl(280, 61%, 41%)
HSVhsv(280, 76%, 66%)
CMYKcmyk(25.6%, 75.6%, 0%, 34.1%)
CIE-LABlab(35.54, 55.71, -51.78)
CIE-LCHlch(35.54, 76.06, 317.09°)
OKLaboklab(46.93% 0.1284 -0.1466)
OKLCHoklch(46.93% 0.195 311.2)
XYZxyz(16.3169, 8.7734, 37.8721)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29A8 #54A829
analogous
#3D29A8 #7D29A8 #A82993
triadic
#7D29A8 #A87D29 #29A87D
tetradic
#7D29A8 #A83D29 #54A829 #2993A8
square
#7D29A8 #A83D29 #54A829 #2993A8
split-complementary
#7D29A8 #93A829 #29A83D
monochromatic
#341146 #581D77 #7D29A8 #9F3ED0 #B76FDC

Accessibility & contrast

On white

7.62
#7D29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7D29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29A8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29A8#FFFFFF#000000##FFFFFF
##7D29A81.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#1055A5
Tritanopia (blue-blind)
#774767
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d29a8;
/* rgb */ color: rgb(125, 41, 168);
/* oklch */ color: oklch(46.9% 0.195 311.2);
Tailwind
colors: {
  custom: {
    50: '#a76cc3',
    500: '#7d29a8',
    950: '#000000',
  },
}
SCSS
$custom: #7d29a8;
$custom-light: #a76cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29a8",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 279.685,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46928,
    "c": 0.19487,
    "h": 311.2
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#7D29A8
secondary
#88C36A
accent
#E4447A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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