#7222A5#7222A5

#7222A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.6% C 0.196 H 307.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7222A5
RGBrgb(114, 34, 165)
HSLhsl(277, 66%, 39%)
HSVhsv(277, 79%, 65%)
CMYKcmyk(30.9%, 79.4%, 0%, 35.3%)
CIE-LABlab(32.78, 55.66, -54.53)
CIE-LCHlch(32.78, 77.92, 315.59°)
OKLaboklab(44.58% 0.1201 -0.155)
OKLCHoklch(44.58% 0.196 307.8)
XYZxyz(14.3015, 7.4383, 36.2723)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222A5 #55A522
analogous
#3122A5 #7222A5 #A52297
triadic
#7222A5 #A57222 #22A572
tetradic
#7222A5 #A53122 #55A522 #2297A5
square
#7222A5 #A53122 #55A522 #2297A5
split-complementary
#7222A5 #97A522 #22A531
monochromatic
#2C0D40 #4F1872 #7222A5 #9430D4 #AE63DF

Accessibility & contrast

On white

8.44
#7222A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7222A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222A5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222A5#FFFFFF#000000##FFFFFF
##7222A51.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#6A4464
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7222a5;
/* rgb */ color: rgb(114, 34, 165);
/* oklch */ color: oklch(44.6% 0.196 307.8);
Tailwind
colors: {
  custom: {
    50: '#a067c1',
    500: '#7222a5',
    950: '#000000',
  },
}
SCSS
$custom: #7222a5;
$custom-light: #a067c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7222a5",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 276.641,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44581,
    "c": 0.19611,
    "h": 307.8
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#7222A5
secondary
#86C45F
accent
#E93F81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7222A5

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

Preview Lab → · Contrast checker → · Palette generator →

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