#7726AA#7726AA

#7726AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.198 H 308.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7726AA
RGBrgb(119, 38, 170)
HSLhsl(277, 63%, 41%)
HSVhsv(277, 78%, 67%)
CMYKcmyk(30%, 77.6%, 0%, 33.3%)
CIE-LABlab(34.42, 56.18, -54.85)
CIE-LCHlch(34.42, 78.51, 315.68°)
OKLaboklab(46% 0.1225 -0.1558)
OKLCHoklch(46% 0.198 308.2)
XYZxyz(15.5550, 8.2107, 38.7878)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726AA #59AA26
analogous
#3526AA #7726AA #AA269B
triadic
#7726AA #AA7726 #26AA77
tetradic
#7726AA #AA3526 #59AA26 #269BAA
square
#7726AA #AA3526 #59AA26 #269BAA
split-complementary
#7726AA #9BAA26 #26AA35
monochromatic
#311046 #541B78 #7726AA #983AD3 #B26CDE

Accessibility & contrast

On white

7.95
#7726AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7726AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7726AA#FFFFFF#000000##FFFFFF
##7726AA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#6F4767
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7726aa;
/* rgb */ color: rgb(119, 38, 170);
/* oklch */ color: oklch(46.0% 0.198 308.2);
Tailwind
colors: {
  custom: {
    50: '#a36ac4',
    500: '#7726aa',
    950: '#000000',
  },
}
SCSS
$custom: #7726aa;
$custom-light: #a36ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7726aa",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 276.818,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46,
    "c": 0.19822,
    "h": 308.2
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#7726AA
secondary
#8BC567
accent
#E64181
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7726AA

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

Preview Lab → · Contrast checker → · Palette generator →

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