#7726A8#7726A8

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

Color values

HEX#7726A8
RGBrgb(119, 38, 168)
HSLhsl(277, 63%, 40%)
HSVhsv(277, 77%, 66%)
CMYKcmyk(29.2%, 77.4%, 0%, 34.1%)
CIE-LABlab(34.26, 55.74, -53.90)
CIE-LCHlch(34.26, 77.54, 315.96°)
OKLaboklab(45.84% 0.1229 -0.153)
OKLCHoklch(45.84% 0.196 308.8)
XYZxyz(15.3673, 8.1356, 37.7990)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726A8 #57A826
analogous
#3626A8 #7726A8 #A82698
triadic
#7726A8 #A87726 #26A877
tetradic
#7726A8 #A83626 #57A826 #2698A8
square
#7726A8 #A83626 #57A826 #2698A8
split-complementary
#7726A8 #98A826 #26A836
monochromatic
#300F44 #541B76 #7726A8 #9839D2 #B26BDE

Accessibility & contrast

On white

7.99
#7726A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7726A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726A8
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726A8#FFFFFF#000000##FFFFFF
##7726A81.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#6F4666
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7726a8;
/* rgb */ color: rgb(119, 38, 168);
/* oklch */ color: oklch(45.8% 0.196 308.8);
Tailwind
colors: {
  custom: {
    50: '#a36ac3',
    500: '#7726a8',
    950: '#000000',
  },
}
SCSS
$custom: #7726a8;
$custom-light: #a36ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7726a8",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 277.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45843,
    "c": 0.1963,
    "h": 308.8
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#7726A8
secondary
#89C466
accent
#E64280
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7726A8

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

Preview Lab → · Contrast checker → · Palette generator →

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