#7722A5#7722A5

#7722A5 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.197 H 310.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7722A5
RGBrgb(119, 34, 165)
HSLhsl(279, 66%, 39%)
HSVhsv(279, 79%, 65%)
CMYKcmyk(27.9%, 79.4%, 0%, 35.3%)
CIE-LABlab(33.53, 56.54, -53.29)
CIE-LCHlch(33.53, 77.70, 316.70°)
OKLaboklab(45.25% 0.127 -0.1512)
OKLCHoklch(45.25% 0.197 310)
XYZxyz(14.9700, 7.7829, 36.3037)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7722A5 #50A522
analogous
#3522A5 #7722A5 #A52292
triadic
#7722A5 #A57722 #22A577
tetradic
#7722A5 #A53522 #50A522 #2292A5
square
#7722A5 #A53522 #50A522 #2292A5
split-complementary
#7722A5 #92A522 #22A535
monochromatic
#2E0D40 #521872 #7722A5 #9B30D4 #B363DF

Accessibility & contrast

On white

8.21
#7722A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7722A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7722A5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7722A5#FFFFFF#000000##FFFFFF
##7722A51.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#704364
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7722a5;
/* rgb */ color: rgb(119, 34, 165);
/* oklch */ color: oklch(45.3% 0.197 310.0);
Tailwind
colors: {
  custom: {
    50: '#a368c1',
    500: '#7722a5',
    950: '#000000',
  },
}
SCSS
$custom: #7722a5;
$custom-light: #a368c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7722a5",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 278.931,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.19748,
    "h": 310
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#7722A5
secondary
#82C45F
accent
#E93F7B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7722A5

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

Preview Lab → · Contrast checker → · Palette generator →

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