#7722C1#7722C1

#7722C1 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.6% C 0.224 H 302.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7722C1
RGBrgb(119, 34, 193)
HSLhsl(272, 70%, 45%)
HSVhsv(272, 82%, 76%)
CMYKcmyk(38.3%, 82.4%, 0%, 24.3%)
CIE-LABlab(35.82, 62.71, -66.20)
CIE-LCHlch(35.82, 91.19, 313.45°)
OKLaboklab(47.56% 0.1193 -0.1891)
OKLCHoklch(47.56% 0.224 302.2)
XYZxyz(17.8031, 8.9162, 51.2248)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7722C1 #6CC122
analogous
#2722C1 #7722C1 #C122BC
triadic
#7722C1 #C17722 #22C177
tetradic
#7722C1 #C12722 #6CC122 #22BCC1
square
#7722C1 #C12722 #6CC122 #22BCC1
split-complementary
#7722C1 #BCC122 #22C127
monochromatic
#371059 #57198D #7722C1 #9542DE #B376E7

Accessibility & contrast

On white

7.55
#7722C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7722C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7722C1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7722C1#FFFFFF#000000##FFFFFF
##7722C11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#674F74
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7722c1;
/* rgb */ color: rgb(119, 34, 193);
/* oklch */ color: oklch(47.6% 0.224 302.2);
Tailwind
colors: {
  custom: {
    50: '#a569d5',
    500: '#7722c1',
    950: '#000000',
  },
}
SCSS
$custom: #7722c1;
$custom-light: #a569d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7722c1",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 272.075,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.22364,
    "h": 302.2
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#7722C1
secondary
#9CCE71
accent
#ED3B8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7722C1

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

Preview Lab → · Contrast checker → · Palette generator →

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