#7222A3#7222A3

#7222A3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.194 H 308.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7222A3
RGBrgb(114, 34, 163)
HSLhsl(277, 65%, 39%)
HSVhsv(277, 79%, 64%)
CMYKcmyk(30.1%, 79.1%, 0%, 36.1%)
CIE-LABlab(32.63, 55.22, -53.58)
CIE-LCHlch(32.63, 76.95, 315.86°)
OKLaboklab(44.42% 0.1206 -0.1522)
OKLCHoklch(44.42% 0.194 308.4)
XYZxyz(14.1209, 7.3660, 35.3211)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222A3 #53A322
analogous
#3122A3 #7222A3 #A32293
triadic
#7222A3 #A37222 #22A372
tetradic
#7222A3 #A33122 #53A322 #2293A3
square
#7222A3 #A33122 #53A322 #2293A3
split-complementary
#7222A3 #93A322 #22A331
monochromatic
#2B0D3E #4F1770 #7222A3 #952FD4 #AF61DE

Accessibility & contrast

On white

8.49
#7222A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7222A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222A3
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222A3#FFFFFF#000000##FFFFFF
##7222A31.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#6A4362
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7222a3;
/* rgb */ color: rgb(114, 34, 163);
/* oklch */ color: oklch(44.4% 0.194 308.4);
Tailwind
colors: {
  custom: {
    50: '#a067bf',
    500: '#7222a3',
    950: '#000000',
  },
}
SCSS
$custom: #7222a3;
$custom-light: #a067bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7222a3",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 277.209,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.19421,
    "h": 308.4
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#7222A3
secondary
#84C35E
accent
#E83F80
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7222A3

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

Preview Lab → · Contrast checker → · Palette generator →

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