#7221AD#7221AD

#7221AD is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.205 H 305.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7221AD
RGBrgb(114, 33, 173)
HSLhsl(275, 68%, 40%)
HSVhsv(275, 81%, 68%)
CMYKcmyk(34.1%, 80.9%, 0%, 32.2%)
CIE-LABlab(33.31, 57.79, -58.48)
CIE-LCHlch(33.31, 82.22, 314.66°)
OKLaboklab(45.15% 0.1188 -0.1666)
OKLCHoklch(45.15% 0.205 305.5)
XYZxyz(15.0244, 7.6824, 40.2184)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221AD #5CAD21
analogous
#2C21AD #7221AD #AD21A2
triadic
#7221AD #AD7221 #21AD72
tetradic
#7221AD #AD2C21 #5CAD21 #21A2AD
square
#7221AD #AD2C21 #5CAD21 #21A2AD
split-complementary
#7221AD #A2AD21 #21AD2C
monochromatic
#2E0D46 #50177A #7221AD #9333D8 #AE66E2

Accessibility & contrast

On white

8.28
#7221AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7221AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221AD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221AD#FFFFFF#000000##FFFFFF
##7221AD1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#674768
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7221ad;
/* rgb */ color: rgb(114, 33, 173);
/* oklch */ color: oklch(45.2% 0.205 305.5);
Tailwind
colors: {
  custom: {
    50: '#a067c6',
    500: '#7221ad',
    950: '#000000',
  },
}
SCSS
$custom: #7221ad;
$custom-light: #a067c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7221ad",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 274.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45151,
    "c": 0.20464,
    "h": 305.5
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#7221AD
secondary
#8DC762
accent
#EB3D86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7221AD

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

Preview Lab → · Contrast checker → · Palette generator →

#7221AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva