#7221A4#7221A4

#7221A4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.4% C 0.196 H 308.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7221A4
RGBrgb(114, 33, 164)
HSLhsl(277, 66%, 39%)
HSVhsv(277, 80%, 64%)
CMYKcmyk(30.5%, 79.9%, 0%, 35.7%)
CIE-LABlab(32.58, 55.80, -54.26)
CIE-LCHlch(32.58, 77.83, 315.80°)
OKLaboklab(44.41% 0.1212 -0.1542)
OKLCHoklch(44.41% 0.196 308.2)
XYZxyz(14.1827, 7.3457, 35.7855)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221A4 #53A421
analogous
#3021A4 #7221A4 #A42194
triadic
#7221A4 #A47221 #21A472
tetradic
#7221A4 #A43021 #53A421 #2194A4
square
#7221A4 #A43021 #53A421 #2194A4
split-complementary
#7221A4 #94A421 #21A430
monochromatic
#2B0C3E #4F1771 #7221A4 #952DD5 #AF60DF

Accessibility & contrast

On white

8.51
#7221A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7221A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221A4
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221A4#FFFFFF#000000##FFFFFF
##7221A41.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#6A4363
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7221a4;
/* rgb */ color: rgb(114, 33, 164);
/* oklch */ color: oklch(44.4% 0.196 308.2);
Tailwind
colors: {
  custom: {
    50: '#a067c0',
    500: '#7221a4',
    950: '#000000',
  },
}
SCSS
$custom: #7221a4;
$custom-light: #a067c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7221a4",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 277.099,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.19613,
    "h": 308.2
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#7221A4
secondary
#84C45D
accent
#E93E80
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7221A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7221A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva