#7722B3#7722B3

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

Color values

HEX#7722B3
RGBrgb(119, 34, 179)
HSLhsl(275, 68%, 42%)
HSVhsv(275, 81%, 70%)
CMYKcmyk(33.5%, 81%, 0%, 29.8%)
CIE-LABlab(34.64, 59.59, -59.86)
CIE-LCHlch(34.64, 84.46, 314.87°)
OKLaboklab(46.38% 0.1235 -0.1705)
OKLCHoklch(46.38% 0.211 305.9)
XYZxyz(16.3146, 8.3208, 43.3857)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7722B3 #5EB322
analogous
#2E22B3 #7722B3 #B322A7
triadic
#7722B3 #B37722 #22B377
tetradic
#7722B3 #B32E22 #5EB322 #22A7B3
square
#7722B3 #B32E22 #5EB322 #22A7B3
split-complementary
#7722B3 #A7B322 #22B32E
monochromatic
#330E4C #551880 #7722B3 #9739D9 #B26CE3

Accessibility & contrast

On white

7.88
#7722B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7722B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7722B3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7722B3#FFFFFF#000000##FFFFFF
##7722B31.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7722b3;
/* rgb */ color: rgb(119, 34, 179);
/* oklch */ color: oklch(46.4% 0.211 305.9);
Tailwind
colors: {
  custom: {
    50: '#a468cb',
    500: '#7722b3',
    950: '#000000',
  },
}
SCSS
$custom: #7722b3;
$custom-light: #a468cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7722b3",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 275.172,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46381,
    "c": 0.21053,
    "h": 305.9
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#7722B3
secondary
#90C968
accent
#EB3D85
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7722B3

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

Preview Lab → · Contrast checker → · Palette generator →

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