#7222AC#7222AC

#7222AC is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.203 H 305.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7222AC
RGBrgb(114, 34, 172)
HSLhsl(275, 67%, 40%)
HSVhsv(275, 80%, 67%)
CMYKcmyk(33.7%, 80.2%, 0%, 32.5%)
CIE-LABlab(33.35, 57.22, -57.82)
CIE-LCHlch(33.35, 81.35, 314.70°)
OKLaboklab(45.15% 0.1183 -0.1647)
OKLCHoklch(45.15% 0.203 305.7)
XYZxyz(14.9562, 7.7001, 39.7201)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222AC #5CAC22
analogous
#2D22AC #7222AC #AC22A1
triadic
#7222AC #AC7222 #22AC72
tetradic
#7222AC #AC2D22 #5CAC22 #22A1AC
square
#7222AC #AC2D22 #5CAC22 #22A1AC
split-complementary
#7222AC #A1AC22 #22AC2D
monochromatic
#2E0E46 #501879 #7222AC #9334D7 #AE67E1

Accessibility & contrast

On white

8.27
#7222AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7222AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222AC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222AC#FFFFFF#000000##FFFFFF
##7222AC1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#674768
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7222ac;
/* rgb */ color: rgb(114, 34, 172);
/* oklch */ color: oklch(45.2% 0.203 305.7);
Tailwind
colors: {
  custom: {
    50: '#a067c6',
    500: '#7222ac',
    950: '#000000',
  },
}
SCSS
$custom: #7222ac;
$custom-light: #a067c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7222ac",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 274.783,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.20277,
    "h": 305.7
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#7222AC
secondary
#8DC763
accent
#EA3E86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7222AC

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

Preview Lab → · Contrast checker → · Palette generator →

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