#7721AA#7721AA

#7721AA is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.203 H 308.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7721AA
RGBrgb(119, 33, 170)
HSLhsl(278, 67%, 40%)
HSVhsv(278, 81%, 67%)
CMYKcmyk(30%, 80.6%, 0%, 33.3%)
CIE-LABlab(33.80, 57.96, -55.86)
CIE-LCHlch(33.80, 80.50, 316.06°)
OKLaboklab(45.57% 0.1266 -0.1587)
OKLCHoklch(45.57% 0.203 308.6)
XYZxyz(15.4058, 7.9122, 38.7380)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7721AA #54AA21
analogous
#3221AA #7721AA #AA2199
triadic
#7721AA #AA7721 #21AA77
tetradic
#7721AA #AA3221 #54AA21 #2199AA
square
#7721AA #AA3221 #54AA21 #2199AA
split-complementary
#7721AA #99AA21 #21AA32
monochromatic
#2F0D43 #531777 #7721AA #9931D7 #B364E1

Accessibility & contrast

On white

8.13
#7721AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7721AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7721AA#FFFFFF#000000##FFFFFF
##7721AA1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#6F4566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7721aa;
/* rgb */ color: rgb(119, 33, 170);
/* oklch */ color: oklch(45.6% 0.203 308.6);
Tailwind
colors: {
  custom: {
    50: '#a468c4',
    500: '#7721aa',
    950: '#000000',
  },
}
SCSS
$custom: #7721aa;
$custom-light: #a468c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7721aa",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 277.664,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.20306,
    "h": 308.6
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#7721AA
secondary
#86C661
accent
#EA3D7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7721AA

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

Preview Lab → · Contrast checker → · Palette generator →

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