#7721AC#7721AC

#7721AC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.205 H 308.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7721AC
RGBrgb(119, 33, 172)
HSLhsl(277, 68%, 40%)
HSVhsv(277, 81%, 67%)
CMYKcmyk(30.8%, 80.8%, 0%, 32.5%)
CIE-LABlab(33.96, 58.40, -56.80)
CIE-LCHlch(33.96, 81.46, 315.80°)
OKLaboklab(45.73% 0.1261 -0.1615)
OKLCHoklch(45.73% 0.205 308)
XYZxyz(15.5964, 7.9884, 39.7420)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7721AC #56AC21
analogous
#3121AC #7721AC #AC219C
triadic
#7721AC #AC7721 #21AC77
tetradic
#7721AC #AC3121 #56AC21 #219CAC
square
#7721AC #AC3121 #56AC21 #219CAC
split-complementary
#7721AC #9CAC21 #21AC31
monochromatic
#300D45 #531779 #7721AC #9932D8 #B266E2

Accessibility & contrast

On white

8.08
#7721AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7721AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7721AC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7721AC#FFFFFF#000000##FFFFFF
##7721AC1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7721ac;
/* rgb */ color: rgb(119, 33, 172);
/* oklch */ color: oklch(45.7% 0.205 308.0);
Tailwind
colors: {
  custom: {
    50: '#a468c6',
    500: '#7721ac',
    950: '#000000',
  },
}
SCSS
$custom: #7721ac;
$custom-light: #a468c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7721ac",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 277.122,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.20491,
    "h": 308
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#7721AC
secondary
#88C762
accent
#EB3D7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7721AC

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

Preview Lab → · Contrast checker → · Palette generator →

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