#7C729D#7C729D

#7C729D is a mid, moderate violet. Relative luminance 0.188; OKLCH L 57.7% C 0.066 H 294.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7C729D
RGBrgb(124, 114, 157)
HSLhsl(254, 18%, 53%)
HSVhsv(254, 27%, 62%)
CMYKcmyk(21%, 27.4%, 0%, 38.4%)
CIE-LABlab(50.40, 13.23, -21.78)
CIE-LCHlch(50.40, 25.49, 301.28°)
OKLaboklab(57.75% 0.0278 -0.0599)
OKLCHoklch(57.75% 0.066 294.9)
XYZxyz(20.4139, 18.7539, 34.4361)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C729D #939D72
analogous
#727D9D #7C729D #91729D
triadic
#7C729D #9D7C72 #729D7C
tetradic
#7C729D #9D727D #939D72 #729D91
square
#7C729D #9D727D #939D72 #729D91
split-complementary
#7C729D #9D9172 #7D9D72
monochromatic
#433D58 #5F567C #7C729D #9E96B6 #BFBACF

Accessibility & contrast

On white

4.42
#7C729D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7C729D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C729D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C729D#FFFFFF#000000##000000
##7C729D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#68789F
Deuteranopia (green-blind)
#69779C
Tritanopia (blue-blind)
#767981
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c729d;
/* rgb */ color: rgb(124, 114, 157);
/* oklch */ color: oklch(57.7% 0.066 294.9);
Tailwind
colors: {
  custom: {
    50: '#a29aba',
    500: '#7c729d',
    950: '#000000',
  },
}
SCSS
$custom: #7c729d;
$custom-light: #a29aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c729d",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 157
  },
  "hsl": {
    "h": 253.953,
    "s": 17.992,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.06605,
    "h": 294.9
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#7C729D
secondary
#BABFAC
accent
#BB6DA9
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #7C729D

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

Preview Lab → · Contrast checker → · Palette generator →

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