#7722AC#7722AC

#7722AC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.204 H 307.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7722AC
RGBrgb(119, 34, 172)
HSLhsl(277, 67%, 40%)
HSVhsv(277, 80%, 67%)
CMYKcmyk(30.8%, 80.2%, 0%, 32.5%)
CIE-LABlab(34.08, 58.06, -56.60)
CIE-LCHlch(34.08, 81.08, 315.73°)
OKLaboklab(45.81% 0.1253 -0.1609)
OKLCHoklch(45.81% 0.204 307.9)
XYZxyz(15.6246, 8.0448, 39.7514)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7722AC #57AC22
analogous
#3222AC #7722AC #AC229C
triadic
#7722AC #AC7722 #22AC77
tetradic
#7722AC #AC3222 #57AC22 #229CAC
square
#7722AC #AC3222 #57AC22 #229CAC
split-complementary
#7722AC #9CAC22 #22AC32
monochromatic
#300E46 #541879 #7722AC #9834D7 #B267E1

Accessibility & contrast

On white

8.05
#7722AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7722AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7722AC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7722AC#FFFFFF#000000##FFFFFF
##7722AC1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#6E4668
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7722ac;
/* rgb */ color: rgb(119, 34, 172);
/* oklch */ color: oklch(45.8% 0.204 307.9);
Tailwind
colors: {
  custom: {
    50: '#a468c6',
    500: '#7722ac',
    950: '#000000',
  },
}
SCSS
$custom: #7722ac;
$custom-light: #a468c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7722ac",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 276.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4581,
    "c": 0.20399,
    "h": 307.9
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#7722AC
secondary
#89C763
accent
#EA3E80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7722AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7722AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva