#7222C1#7222C1

#7222C1 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 47.0% C 0.223 H 300.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7222C1
RGBrgb(114, 34, 193)
HSLhsl(270, 70%, 45%)
HSVhsv(270, 82%, 76%)
CMYKcmyk(40.9%, 82.4%, 0%, 24.3%)
CIE-LABlab(35.15, 62.00, -67.34)
CIE-LCHlch(35.15, 91.53, 312.64°)
OKLaboklab(46.95% 0.112 -0.1926)
OKLCHoklch(46.95% 0.223 300.2)
XYZxyz(17.1347, 8.5715, 51.1935)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222C1 #71C122
analogous
#2322C1 #7222C1 #C122C0
triadic
#7222C1 #C17222 #22C172
tetradic
#7222C1 #C12322 #71C122 #22C0C1
square
#7222C1 #C12322 #71C122 #22C0C1
split-complementary
#7222C1 #C0C122 #22C123
monochromatic
#351059 #53198D #7222C1 #9142DE #AF76E7

Accessibility & contrast

On white

7.74
#7222C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7222C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222C1
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222C1#FFFFFF#000000##FFFFFF
##7222C11.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#5F5074
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7222c1;
/* rgb */ color: rgb(114, 34, 193);
/* oklch */ color: oklch(47.0% 0.223 300.2);
Tailwind
colors: {
  custom: {
    50: '#a269d5',
    500: '#7222c1',
    950: '#000000',
  },
}
SCSS
$custom: #7222c1;
$custom-light: #a269d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7222c1",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 270.189,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.22284,
    "h": 300.2
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#7222C1
secondary
#9FCE71
accent
#ED3B93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7222C1

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

Preview Lab → · Contrast checker → · Palette generator →

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