#7222AF#7222AF

#7222AF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.206 H 304.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7222AF
RGBrgb(114, 34, 175)
HSLhsl(274, 67%, 41%)
HSVhsv(274, 81%, 69%)
CMYKcmyk(34.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(33.60, 57.89, -59.21)
CIE-LCHlch(33.60, 82.81, 314.36°)
OKLaboklab(45.4% 0.1175 -0.1688)
OKLCHoklch(45.4% 0.206 304.8)
XYZxyz(15.2476, 7.8167, 41.2546)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222AF #5FAF22
analogous
#2C22AF #7222AF #AF22A5
triadic
#7222AF #AF7222 #22AF72
tetradic
#7222AF #AF2C22 #5FAF22 #22A5AF
square
#7222AF #AF2C22 #5FAF22 #22A5AF
split-complementary
#7222AF #A5AF22 #22AF2C
monochromatic
#2F0E49 #51187C #7222AF #9236D8 #AE69E2

Accessibility & contrast

On white

8.19
#7222AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7222AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222AF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222AF#FFFFFF#000000##FFFFFF
##7222AF1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#664869
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7222af;
/* rgb */ color: rgb(114, 34, 175);
/* oklch */ color: oklch(45.4% 0.206 304.8);
Tailwind
colors: {
  custom: {
    50: '#a168c8',
    500: '#7222af',
    950: '#000000',
  },
}
SCSS
$custom: #7222af;
$custom-light: #a168c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7222af",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 274.043,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.20564,
    "h": 304.8
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#7222AF
secondary
#90C865
accent
#EA3D88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7222AF

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

Preview Lab → · Contrast checker → · Palette generator →

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