#7721C2#7721C2

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

Color values

HEX#7721C2
RGBrgb(119, 33, 194)
HSLhsl(272, 71%, 45%)
HSVhsv(272, 83%, 76%)
CMYKcmyk(38.7%, 83%, 0%, 23.9%)
CIE-LABlab(35.80, 63.25, -66.82)
CIE-LCHlch(35.80, 92.01, 313.43°)
OKLaboklab(47.58% 0.1197 -0.191)
OKLCHoklch(47.58% 0.225 302.1)
XYZxyz(17.8868, 8.9046, 51.8049)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7721C2 #6CC221
analogous
#2721C2 #7721C2 #C221BC
triadic
#7721C2 #C27721 #21C277
tetradic
#7721C2 #C22721 #6CC221 #21BCC2
square
#7721C2 #C22721 #6CC221 #21BCC2
split-complementary
#7721C2 #BCC221 #21C227
monochromatic
#370F59 #57188E #7721C2 #9541DF #B376E8

Accessibility & contrast

On white

7.55
#7721C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7721C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7721C2#FFFFFF#000000##FFFFFF
##7721C21.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)
#0053C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#665074
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7721c2;
/* rgb */ color: rgb(119, 33, 194);
/* oklch */ color: oklch(47.6% 0.225 302.1);
Tailwind
colors: {
  custom: {
    50: '#a669d6',
    500: '#7721c2',
    950: '#000000',
  },
}
SCSS
$custom: #7721c2;
$custom-light: #a669d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7721c2",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 194
  },
  "hsl": {
    "h": 272.05,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47575,
    "c": 0.22535,
    "h": 302.1
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#7721C2
secondary
#9CCF70
accent
#EE3A8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7721C2

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

Preview Lab → · Contrast checker → · Palette generator →

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