#7729AB#7729AB

#7729AB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.4% C 0.196 H 307.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7729AB
RGBrgb(119, 41, 171)
HSLhsl(276, 61%, 42%)
HSVhsv(276, 76%, 67%)
CMYKcmyk(30.4%, 76%, 0%, 32.9%)
CIE-LABlab(34.90, 55.24, -54.67)
CIE-LCHlch(34.90, 77.71, 315.30°)
OKLaboklab(46.36% 0.1196 -0.1553)
OKLCHoklch(46.36% 0.196 307.6)
XYZxyz(15.7498, 8.4483, 39.3212)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7729AB #5DAB29
analogous
#3629AB #7729AB #AB299E
triadic
#7729AB #AB7729 #29AB77
tetradic
#7729AB #AB3629 #5DAB29 #299EAB
square
#7729AB #AB3629 #5DAB29 #299EAB
split-complementary
#7729AB #9EAB29 #29AB36
monochromatic
#321148 #551D7A #7729AB #9740D1 #B271DD

Accessibility & contrast

On white

7.81
#7729AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7729AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7729AB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7729AB#FFFFFF#000000##FFFFFF
##7729AB1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#6E4969
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7729ab;
/* rgb */ color: rgb(119, 41, 171);
/* oklch */ color: oklch(46.4% 0.196 307.6);
Tailwind
colors: {
  custom: {
    50: '#a36bc5',
    500: '#7729ab',
    950: '#000000',
  },
}
SCSS
$custom: #7729ab;
$custom-light: #a36bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7729ab",
  "rgb": {
    "r": 119,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 276,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.19604,
    "h": 307.6
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#7729AB
secondary
#8FC46C
accent
#E44384
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7729AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7729AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva