#7222B3#7222B3

#7222B3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.209 H 303.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7222B3
RGBrgb(114, 34, 179)
HSLhsl(273, 68%, 42%)
HSVhsv(273, 81%, 70%)
CMYKcmyk(36.3%, 81%, 0%, 29.8%)
CIE-LABlab(33.93, 58.80, -61.04)
CIE-LCHlch(33.93, 84.76, 313.93°)
OKLaboklab(45.74% 0.1163 -0.1742)
OKLCHoklch(45.74% 0.209 303.7)
XYZxyz(15.6462, 7.9762, 43.3544)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222B3 #63B322
analogous
#2922B3 #7222B3 #B322AC
triadic
#7222B3 #B37222 #22B372
tetradic
#7222B3 #B32922 #63B322 #22ACB3
square
#7222B3 #B32922 #63B322 #22ACB3
split-complementary
#7222B3 #ACB322 #22B329
monochromatic
#300E4C #511880 #7222B3 #9139D9 #AE6CE3

Accessibility & contrast

On white

8.09
#7222B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7222B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222B3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222B3#FFFFFF#000000##FFFFFF
##7222B31.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#654A6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7222b3;
/* rgb */ color: rgb(114, 34, 179);
/* oklch */ color: oklch(45.7% 0.209 303.7);
Tailwind
colors: {
  custom: {
    50: '#a168cb',
    500: '#7222b3',
    950: '#000000',
  },
}
SCSS
$custom: #7222b3;
$custom-light: #a168cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7222b3",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 273.103,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45738,
    "c": 0.20945,
    "h": 303.7
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#7222B3
secondary
#93C968
accent
#EB3D8B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7222B3

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

Preview Lab → · Contrast checker → · Palette generator →

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