#7222A8#7222A8

#7222A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.8% C 0.199 H 306.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7222A8
RGBrgb(114, 34, 168)
HSLhsl(276, 66%, 40%)
HSVhsv(276, 80%, 66%)
CMYKcmyk(32.1%, 79.8%, 0%, 34.1%)
CIE-LABlab(33.02, 56.33, -55.95)
CIE-LCHlch(33.02, 79.39, 315.19°)
OKLaboklab(44.82% 0.1194 -0.1592)
OKLCHoklch(44.82% 0.199 306.9)
XYZxyz(14.5778, 7.5488, 37.7273)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222A8 #58A822
analogous
#2F22A8 #7222A8 #A8229B
triadic
#7222A8 #A87222 #22A872
tetradic
#7222A8 #A82F22 #58A822 #229BA8
square
#7222A8 #A82F22 #58A822 #229BA8
split-complementary
#7222A8 #9BA822 #22A82F
monochromatic
#2D0D42 #4F1875 #7222A8 #9332D5 #AE65E0

Accessibility & contrast

On white

8.37
#7222A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7222A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222A8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222A8#FFFFFF#000000##FFFFFF
##7222A81.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#694565
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7222a8;
/* rgb */ color: rgb(114, 34, 168);
/* oklch */ color: oklch(44.8% 0.199 306.9);
Tailwind
colors: {
  custom: {
    50: '#a067c3',
    500: '#7222a8',
    950: '#000000',
  },
}
SCSS
$custom: #7222a8;
$custom-light: #a067c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7222a8",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 275.821,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44824,
    "c": 0.19897,
    "h": 306.9
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#7222A8
secondary
#89C561
accent
#E93F83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7222A8

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

Preview Lab → · Contrast checker → · Palette generator →

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