#7D29B1#7D29B1

#7D29B1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.203 H 308.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7D29B1
RGBrgb(125, 41, 177)
HSLhsl(277, 62%, 43%)
HSVhsv(277, 77%, 69%)
CMYKcmyk(29.4%, 76.8%, 0%, 30.6%)
CIE-LABlab(36.22, 57.66, -56.07)
CIE-LCHlch(36.22, 80.43, 315.80°)
OKLaboklab(47.61% 0.1266 -0.1592)
OKLCHoklch(47.61% 0.203 308.5)
XYZxyz(17.1846, 9.1205, 42.4416)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D29B1 #5DB129
analogous
#3929B1 #7D29B1 #B129A1
triadic
#7D29B1 #B17D29 #29B17D
tetradic
#7D29B1 #B13929 #5DB129 #29A1B1
square
#7D29B1 #B13929 #5DB129 #29A1B1
split-complementary
#7D29B1 #A1B129 #29B139
monochromatic
#37124E #5A1D7F #7D29B1 #9D44D4 #B775DF

Accessibility & contrast

On white

7.44
#7D29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7D29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D29B1
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D29B1#FFFFFF#000000##FFFFFF
##7D29B11.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#754B6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d29b1;
/* rgb */ color: rgb(125, 41, 177);
/* oklch */ color: oklch(47.6% 0.203 308.5);
Tailwind
colors: {
  custom: {
    50: '#a86cc9',
    500: '#7d29b1',
    950: '#000000',
  },
}
SCSS
$custom: #7d29b1;
$custom-light: #a86cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d29b1",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 277.059,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.20342,
    "h": 308.5
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#7D29B1
secondary
#91C76F
accent
#E54281
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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