#7726A7#7726A7

#7726A7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 309.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7726A7
RGBrgb(119, 38, 167)
HSLhsl(278, 63%, 40%)
HSVhsv(278, 77%, 65%)
CMYKcmyk(28.7%, 77.2%, 0%, 34.5%)
CIE-LABlab(34.19, 55.52, -53.42)
CIE-LCHlch(34.19, 77.05, 316.10°)
OKLaboklab(45.77% 0.1232 -0.1516)
OKLCHoklch(45.77% 0.195 309.1)
XYZxyz(15.2745, 8.0985, 37.3102)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726A7 #56A726
analogous
#3626A7 #7726A7 #A72697
triadic
#7726A7 #A77726 #26A777
tetradic
#7726A7 #A73626 #56A726 #2697A7
square
#7726A7 #A73626 #56A726 #2697A7
split-complementary
#7726A7 #97A726 #26A736
monochromatic
#300F43 #531B75 #7726A7 #9938D2 #B26ADD

Accessibility & contrast

On white

8.02
#7726A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7726A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726A7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726A7#FFFFFF#000000##FFFFFF
##7726A71.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#704666
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7726a7;
/* rgb */ color: rgb(119, 38, 167);
/* oklch */ color: oklch(45.8% 0.195 309.1);
Tailwind
colors: {
  custom: {
    50: '#a36ac2',
    500: '#7726a7',
    950: '#000000',
  },
}
SCSS
$custom: #7726a7;
$custom-light: #a36ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7726a7",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 277.674,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.19535,
    "h": 309.1
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#7726A7
secondary
#88C365
accent
#E6427F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7726A7

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

Preview Lab → · Contrast checker → · Palette generator →

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