#7729C2#7729C2

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

Color values

HEX#7729C2
RGBrgb(119, 41, 194)
HSLhsl(271, 65%, 46%)
HSVhsv(271, 79%, 76%)
CMYKcmyk(38.7%, 78.9%, 0%, 23.9%)
CIE-LABlab(36.75, 60.49, -65.27)
CIE-LCHlch(36.75, 88.99, 312.82°)
OKLaboklab(48.23% 0.114 -0.1865)
OKLCHoklch(48.23% 0.219 301.4)
XYZxyz(18.1359, 9.4027, 51.8879)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7729C2 #74C229
analogous
#2A29C2 #7729C2 #C229C0
triadic
#7729C2 #C27729 #29C277
tetradic
#7729C2 #C22A29 #74C229 #29C0C2
square
#7729C2 #C22A29 #74C229 #29C0C2
split-complementary
#7729C2 #C0C229 #29C22A
monochromatic
#39145D #581E8F #7729C2 #954EDA #B481E4

Accessibility & contrast

On white

7.29
#7729C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7729C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7729C2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7729C2#FFFFFF#000000##FFFFFF
##7729C21.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)
#0056C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#665376
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7729c2;
/* rgb */ color: rgb(119, 41, 194);
/* oklch */ color: oklch(48.2% 0.219 301.4);
Tailwind
colors: {
  custom: {
    50: '#a56cd6',
    500: '#7729c2',
    950: '#000000',
  },
}
SCSS
$custom: #7729c2;
$custom-light: #a56cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7729c2",
  "rgb": {
    "r": 119,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 270.588,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.21855,
    "h": 301.4
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#7729C2
secondary
#A3CD7A
accent
#E84092
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7729C2

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

Preview Lab → · Contrast checker → · Palette generator →

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