#7722A7#7722A7

#7722A7 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.199 H 309.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7722A7
RGBrgb(119, 34, 167)
HSLhsl(278, 66%, 39%)
HSVhsv(278, 80%, 65%)
CMYKcmyk(28.7%, 79.6%, 0%, 34.5%)
CIE-LABlab(33.68, 56.97, -54.25)
CIE-LCHlch(33.68, 78.67, 316.41°)
OKLaboklab(45.41% 0.1266 -0.154)
OKLCHoklch(45.41% 0.199 309.4)
XYZxyz(15.1534, 7.8563, 37.2699)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7722A7 #52A722
analogous
#3522A7 #7722A7 #A72295
triadic
#7722A7 #A77722 #22A777
tetradic
#7722A7 #A73522 #52A722 #2295A7
square
#7722A7 #A73522 #52A722 #2295A7
split-complementary
#7722A7 #95A722 #22A735
monochromatic
#2F0D41 #531874 #7722A7 #9A31D5 #B364DF

Accessibility & contrast

On white

8.17
#7722A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7722A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7722A7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7722A7#FFFFFF#000000##FFFFFF
##7722A71.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#704465
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7722a7;
/* rgb */ color: rgb(119, 34, 167);
/* oklch */ color: oklch(45.4% 0.199 309.4);
Tailwind
colors: {
  custom: {
    50: '#a368c2',
    500: '#7722a7',
    950: '#000000',
  },
}
SCSS
$custom: #7722a7;
$custom-light: #a368c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7722a7",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 278.346,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45411,
    "c": 0.19934,
    "h": 309.4
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#7722A7
secondary
#84C560
accent
#E93F7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7722A7

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

Preview Lab → · Contrast checker → · Palette generator →

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