#7726A4#7726A4

#7726A4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.192 H 310.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7726A4
RGBrgb(119, 38, 164)
HSLhsl(279, 62%, 40%)
HSVhsv(279, 77%, 64%)
CMYKcmyk(27.4%, 76.8%, 0%, 35.7%)
CIE-LABlab(33.96, 54.86, -51.99)
CIE-LCHlch(33.96, 75.58, 316.54°)
OKLaboklab(45.53% 0.1238 -0.1474)
OKLCHoklch(45.53% 0.192 310)
XYZxyz(15.0004, 7.9888, 35.8666)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726A4 #53A426
analogous
#3826A4 #7726A4 #A42692
triadic
#7726A4 #A47726 #26A477
tetradic
#7726A4 #A43826 #53A426 #2692A4
square
#7726A4 #A43826 #53A426 #2692A4
split-complementary
#7726A4 #92A426 #26A438
monochromatic
#2F0F41 #531A72 #7726A4 #9A37D1 #B368DC

Accessibility & contrast

On white

8.08
#7726A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7726A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726A4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726A4#FFFFFF#000000##FFFFFF
##7726A41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#714464
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7726a4;
/* rgb */ color: rgb(119, 38, 164);
/* oklch */ color: oklch(45.5% 0.192 310.0);
Tailwind
colors: {
  custom: {
    50: '#a369c0',
    500: '#7726a4',
    950: '#000000',
  },
}
SCSS
$custom: #7726a4;
$custom-light: #a369c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7726a4",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 278.571,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.19247,
    "h": 310
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#7726A4
secondary
#85C264
accent
#E5427D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7726A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7726A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva