#7222A6#7222A6

#7222A6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.197 H 307.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7222A6
RGBrgb(114, 34, 166)
HSLhsl(276, 66%, 39%)
HSVhsv(276, 80%, 65%)
CMYKcmyk(31.3%, 79.5%, 0%, 34.9%)
CIE-LABlab(32.86, 55.88, -55.01)
CIE-LCHlch(32.86, 78.41, 315.45°)
OKLaboklab(44.66% 0.1199 -0.1564)
OKLCHoklch(44.66% 0.197 307.5)
XYZxyz(14.3929, 7.4748, 36.7536)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222A6 #56A622
analogous
#3022A6 #7222A6 #A62298
triadic
#7222A6 #A67222 #22A672
tetradic
#7222A6 #A63022 #56A622 #2298A6
square
#7222A6 #A63022 #56A622 #2298A6
split-complementary
#7222A6 #98A622 #22A630
monochromatic
#2C0D40 #4F1873 #7222A6 #9430D5 #AE63DF

Accessibility & contrast

On white

8.42
#7222A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7222A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222A6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222A6#FFFFFF#000000##FFFFFF
##7222A61.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7222a6;
/* rgb */ color: rgb(114, 34, 166);
/* oklch */ color: oklch(44.7% 0.197 307.5);
Tailwind
colors: {
  custom: {
    50: '#a067c1',
    500: '#7222a6',
    950: '#000000',
  },
}
SCSS
$custom: #7222a6;
$custom-light: #a067c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7222a6",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 276.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.19706,
    "h": 307.5
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#7222A6
secondary
#87C45F
accent
#E93F82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7222A6

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

Preview Lab → · Contrast checker → · Palette generator →

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