#7221A6#7221A6

#7221A6 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.6% C 0.198 H 307.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7221A6
RGBrgb(114, 33, 166)
HSLhsl(277, 67%, 39%)
HSVhsv(277, 80%, 65%)
CMYKcmyk(31.3%, 80.1%, 0%, 34.9%)
CIE-LABlab(32.74, 56.24, -55.21)
CIE-LCHlch(32.74, 78.81, 315.53°)
OKLaboklab(44.58% 0.1207 -0.157)
OKLCHoklch(44.58% 0.198 307.5)
XYZxyz(14.3648, 7.4185, 36.7442)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221A6 #55A621
analogous
#2F21A6 #7221A6 #A62198
triadic
#7221A6 #A67221 #21A672
tetradic
#7221A6 #A62F21 #55A621 #2198A6
square
#7221A6 #A62F21 #55A621 #2198A6
split-complementary
#7221A6 #98A621 #21A62F
monochromatic
#2C0D40 #4F1773 #7221A6 #942FD6 #AE62E0

Accessibility & contrast

On white

8.46
#7221A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7221A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221A6
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221A6#FFFFFF#000000##FFFFFF
##7221A61.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7221a6;
/* rgb */ color: rgb(114, 33, 166);
/* oklch */ color: oklch(44.6% 0.198 307.5);
Tailwind
colors: {
  custom: {
    50: '#a067c1',
    500: '#7221a6',
    950: '#000000',
  },
}
SCSS
$custom: #7221a6;
$custom-light: #a067c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7221a6",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 276.541,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44575,
    "c": 0.19802,
    "h": 307.5
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#7221A6
secondary
#86C55E
accent
#EA3E81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7221A6

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

Preview Lab → · Contrast checker → · Palette generator →

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