#7722A2#7722A2

#7722A2 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.195 H 311.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7722A2
RGBrgb(119, 34, 162)
HSLhsl(280, 65%, 38%)
HSVhsv(280, 79%, 64%)
CMYKcmyk(26.5%, 79%, 0%, 36.5%)
CIE-LABlab(33.30, 55.90, -51.86)
CIE-LCHlch(33.30, 76.25, 317.15°)
OKLaboklab(45.02% 0.1277 -0.147)
OKLCHoklch(45.02% 0.195 311)
XYZxyz(14.7001, 7.6750, 34.8825)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7722A2 #4DA222
analogous
#3722A2 #7722A2 #A2228D
triadic
#7722A2 #A27722 #22A277
tetradic
#7722A2 #A23722 #4DA222 #228DA2
square
#7722A2 #A23722 #4DA222 #228DA2
split-complementary
#7722A2 #8DA222 #22A237
monochromatic
#2D0D3D #52176F #7722A2 #9C2ED3 #B461DE

Accessibility & contrast

On white

8.28
#7722A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7722A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7722A2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7722A2#FFFFFF#000000##FFFFFF
##7722A21.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#714262
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7722a2;
/* rgb */ color: rgb(119, 34, 162);
/* oklch */ color: oklch(45.0% 0.195 311.0);
Tailwind
colors: {
  custom: {
    50: '#a368be',
    500: '#7722a2',
    950: '#000000',
  },
}
SCSS
$custom: #7722a2;
$custom-light: #a368be;
$custom-dark: #000000;
JSON
{
  "hex": "#7722a2",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 279.844,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.19469,
    "h": 311
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#7722A2
secondary
#7FC35D
accent
#E84078
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7722A2

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

Preview Lab → · Contrast checker → · Palette generator →

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