#7722A8#7722A8

#7722A8 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.200 H 309.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7722A8
RGBrgb(119, 34, 168)
HSLhsl(278, 66%, 40%)
HSVhsv(278, 80%, 66%)
CMYKcmyk(29.2%, 79.8%, 0%, 34.1%)
CIE-LABlab(33.76, 57.19, -54.72)
CIE-LCHlch(33.76, 79.15, 316.26°)
OKLaboklab(45.49% 0.1263 -0.1554)
OKLCHoklch(45.49% 0.2 309.1)
XYZxyz(15.2462, 7.8934, 37.7586)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7722A8 #53A822
analogous
#3422A8 #7722A8 #A82296
triadic
#7722A8 #A87722 #22A877
tetradic
#7722A8 #A83422 #53A822 #2296A8
square
#7722A8 #A83422 #53A822 #2296A8
split-complementary
#7722A8 #96A822 #22A834
monochromatic
#2F0D42 #531875 #7722A8 #9A32D5 #B365E0

Accessibility & contrast

On white

8.14
#7722A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7722A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7722A8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7722A8#FFFFFF#000000##FFFFFF
##7722A81.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#6F4465
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7722a8;
/* rgb */ color: rgb(119, 34, 168);
/* oklch */ color: oklch(45.5% 0.200 309.1);
Tailwind
colors: {
  custom: {
    50: '#a368c3',
    500: '#7722a8',
    950: '#000000',
  },
}
SCSS
$custom: #7722a8;
$custom-light: #a368c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7722a8",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 278.06,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.20027,
    "h": 309.1
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#7722A8
secondary
#85C561
accent
#E93F7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7722A8

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

Preview Lab → · Contrast checker → · Palette generator →

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