#7721B2#7721B2

#7721B2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.210 H 306.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7721B2
RGBrgb(119, 33, 178)
HSLhsl(276, 69%, 41%)
HSVhsv(276, 81%, 70%)
CMYKcmyk(33.1%, 81.5%, 0%, 30.2%)
CIE-LABlab(34.45, 59.70, -59.58)
CIE-LCHlch(34.45, 84.35, 315.06°)
OKLaboklab(46.22% 0.1245 -0.1697)
OKLCHoklch(46.22% 0.21 306.3)
XYZxyz(16.1857, 8.2242, 42.8456)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7721B2 #5CB221
analogous
#2F21B2 #7721B2 #B221A5
triadic
#7721B2 #B27721 #21B277
tetradic
#7721B2 #B22F21 #5CB221 #21A5B2
square
#7721B2 #B22F21 #5CB221 #21A5B2
split-complementary
#7721B2 #A5B221 #21B22F
monochromatic
#320E4B #54177E #7721B2 #9736DA #B26AE3

Accessibility & contrast

On white

7.94
#7721B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7721B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7721B2#FFFFFF#000000##FFFFFF
##7721B21.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#6C486B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7721b2;
/* rgb */ color: rgb(119, 33, 178);
/* oklch */ color: oklch(46.2% 0.210 306.3);
Tailwind
colors: {
  custom: {
    50: '#a468ca',
    500: '#7721b2',
    950: '#000000',
  },
}
SCSS
$custom: #7721b2;
$custom-light: #a468ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7721b2",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 275.586,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.21047,
    "h": 306.3
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#7721B2
secondary
#8EC966
accent
#EC3C84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7721B2

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

Preview Lab → · Contrast checker → · Palette generator →

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