#7221A7#7221A7

#7221A7 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.199 H 307.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7221A7
RGBrgb(114, 33, 167)
HSLhsl(276, 67%, 39%)
HSVhsv(276, 80%, 65%)
CMYKcmyk(31.7%, 80.2%, 0%, 34.5%)
CIE-LABlab(32.82, 56.46, -55.68)
CIE-LCHlch(32.82, 79.30, 315.40°)
OKLaboklab(44.66% 0.1204 -0.1584)
OKLCHoklch(44.66% 0.199 307.2)
XYZxyz(14.4568, 7.4553, 37.2292)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221A7 #56A721
analogous
#2F21A7 #7221A7 #A72199
triadic
#7221A7 #A77221 #21A772
tetradic
#7221A7 #A72F21 #56A721 #2199A7
square
#7221A7 #A72F21 #56A721 #2199A7
split-complementary
#7221A7 #99A721 #21A72F
monochromatic
#2C0D41 #4F1774 #7221A7 #942FD6 #AE62E0

Accessibility & contrast

On white

8.43
#7221A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7221A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221A7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221A7#FFFFFF#000000##FFFFFF
##7221A71.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#694464
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7221a7;
/* rgb */ color: rgb(114, 33, 167);
/* oklch */ color: oklch(44.7% 0.199 307.2);
Tailwind
colors: {
  custom: {
    50: '#a067c2',
    500: '#7221a7',
    950: '#000000',
  },
}
SCSS
$custom: #7221a7;
$custom-light: #a067c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7221a7",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 167
  },
  "hsl": {
    "h": 276.269,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.19896,
    "h": 307.2
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#7221A7
secondary
#87C55F
accent
#EA3E82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7221A7

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

Preview Lab → · Contrast checker → · Palette generator →

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