#7222A2#7222A2

#7222A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.193 H 308.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7222A2
RGBrgb(114, 34, 162)
HSLhsl(278, 65%, 38%)
HSVhsv(278, 79%, 64%)
CMYKcmyk(29.6%, 79%, 0%, 36.5%)
CIE-LABlab(32.55, 55.00, -53.11)
CIE-LCHlch(32.55, 76.46, 316.00°)
OKLaboklab(44.34% 0.1208 -0.1509)
OKLCHoklch(44.34% 0.193 308.7)
XYZxyz(14.0317, 7.3303, 34.8511)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222A2 #52A222
analogous
#3222A2 #7222A2 #A22292
triadic
#7222A2 #A27222 #22A272
tetradic
#7222A2 #A23222 #52A222 #2292A2
square
#7222A2 #A23222 #52A222 #2292A2
split-complementary
#7222A2 #92A222 #22A232
monochromatic
#2B0D3D #4E176F #7222A2 #952ED3 #AF61DE

Accessibility & contrast

On white

8.52
#7222A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7222A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222A2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222A2#FFFFFF#000000##FFFFFF
##7222A21.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#6A4262
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7222a2;
/* rgb */ color: rgb(114, 34, 162);
/* oklch */ color: oklch(44.3% 0.193 308.7);
Tailwind
colors: {
  custom: {
    50: '#a067be',
    500: '#7222a2',
    950: '#000000',
  },
}
SCSS
$custom: #7222a2;
$custom-light: #a067be;
$custom-dark: #000000;
JSON
{
  "hex": "#7222a2",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 277.5,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4434,
    "c": 0.19326,
    "h": 308.7
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#7222A2
secondary
#83C35D
accent
#E8407F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7222A2

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

Preview Lab → · Contrast checker → · Palette generator →

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