#7221A8#7221A8

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

Color values

HEX#7221A8
RGBrgb(114, 33, 168)
HSLhsl(276, 67%, 39%)
HSVhsv(276, 80%, 66%)
CMYKcmyk(32.1%, 80.4%, 0%, 34.1%)
CIE-LABlab(32.90, 56.68, -56.15)
CIE-LCHlch(32.90, 79.78, 315.27°)
OKLaboklab(44.74% 0.1201 -0.1598)
OKLCHoklch(44.74% 0.2 306.9)
XYZxyz(14.5496, 7.4924, 37.7179)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221A8 #57A821
analogous
#2F21A8 #7221A8 #A8219B
triadic
#7221A8 #A87221 #21A872
tetradic
#7221A8 #A82F21 #57A821 #219BA8
square
#7221A8 #A82F21 #57A821 #219BA8
split-complementary
#7221A8 #9BA821 #21A82F
monochromatic
#2D0D42 #4F1775 #7221A8 #9430D6 #AE63E0

Accessibility & contrast

On white

8.41
#7221A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7221A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221A8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221A8#FFFFFF#000000##FFFFFF
##7221A81.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#694565
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7221a8;
/* rgb */ color: rgb(114, 33, 168);
/* oklch */ color: oklch(44.7% 0.200 306.9);
Tailwind
colors: {
  custom: {
    50: '#a067c3',
    500: '#7221a8',
    950: '#000000',
  },
}
SCSS
$custom: #7221a8;
$custom-light: #a067c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7221a8",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 168
  },
  "hsl": {
    "h": 276,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.19991,
    "h": 306.9
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#7221A8
secondary
#88C55F
accent
#EA3E83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #7221A8

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

Preview Lab → · Contrast checker → · Palette generator →

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