#7726A6#7726A6

#7726A6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.194 H 309.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7726A6
RGBrgb(119, 38, 166)
HSLhsl(278, 63%, 40%)
HSVhsv(278, 77%, 65%)
CMYKcmyk(28.3%, 77.1%, 0%, 34.9%)
CIE-LABlab(34.11, 55.30, -52.95)
CIE-LCHlch(34.11, 76.56, 316.24°)
OKLaboklab(45.69% 0.1234 -0.1502)
OKLCHoklch(45.69% 0.194 309.4)
XYZxyz(15.1824, 8.0616, 36.8253)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726A6 #55A626
analogous
#3726A6 #7726A6 #A62695
triadic
#7726A6 #A67726 #26A677
tetradic
#7726A6 #A63726 #55A626 #2695A6
square
#7726A6 #A63726 #55A626 #2695A6
split-complementary
#7726A6 #95A626 #26A637
monochromatic
#300F42 #531B74 #7726A6 #9938D1 #B36ADD

Accessibility & contrast

On white

8.04
#7726A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7726A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726A6
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726A6#FFFFFF#000000##FFFFFF
##7726A61.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#704565
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7726a6;
/* rgb */ color: rgb(119, 38, 166);
/* oklch */ color: oklch(45.7% 0.194 309.4);
Tailwind
colors: {
  custom: {
    50: '#a36ac1',
    500: '#7726a6',
    950: '#000000',
  },
}
SCSS
$custom: #7726a6;
$custom-light: #a36ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7726a6",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 277.969,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.19438,
    "h": 309.4
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#7726A6
secondary
#87C365
accent
#E6427E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7726A6

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

Preview Lab → · Contrast checker → · Palette generator →

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