#7721B3#7721B3

#7721B3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.211 H 306.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7721B3
RGBrgb(119, 33, 179)
HSLhsl(275, 69%, 42%)
HSVhsv(275, 82%, 70%)
CMYKcmyk(33.5%, 81.6%, 0%, 29.8%)
CIE-LABlab(34.53, 59.92, -60.04)
CIE-LCHlch(34.53, 84.83, 314.94°)
OKLaboklab(46.3% 0.1242 -0.171)
OKLCHoklch(46.3% 0.211 306)
XYZxyz(16.2865, 8.2645, 43.3763)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7721B3 #5DB321
analogous
#2E21B3 #7721B3 #B321A6
triadic
#7721B3 #B37721 #21B377
tetradic
#7721B3 #B32E21 #5DB321 #21A6B3
square
#7721B3 #B32E21 #5DB321 #21A6B3
split-complementary
#7721B3 #A6B321 #21B32E
monochromatic
#320E4C #55177F #7721B3 #9737DA #B26BE4

Accessibility & contrast

On white

7.92
#7721B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7721B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7721B3#FFFFFF#000000##FFFFFF
##7721B31.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#6C496B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7721b3;
/* rgb */ color: rgb(119, 33, 179);
/* oklch */ color: oklch(46.3% 0.211 306.0);
Tailwind
colors: {
  custom: {
    50: '#a468cb',
    500: '#7721b3',
    950: '#000000',
  },
}
SCSS
$custom: #7721b3;
$custom-light: #a468cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7721b3",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 275.342,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.2114,
    "h": 306
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#7721B3
secondary
#8FCA66
accent
#EC3C84
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7721B3

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

Preview Lab → · Contrast checker → · Palette generator →

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