#7221A2#7221A2

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

Color values

HEX#7221A2
RGBrgb(114, 33, 162)
HSLhsl(278, 66%, 38%)
HSVhsv(278, 80%, 64%)
CMYKcmyk(29.6%, 79.6%, 0%, 36.5%)
CIE-LABlab(32.42, 55.36, -53.31)
CIE-LCHlch(32.42, 76.86, 316.08°)
OKLaboklab(44.25% 0.1216 -0.1514)
OKLCHoklch(44.25% 0.194 308.8)
XYZxyz(14.0035, 7.2740, 34.8417)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221A2 #51A221
analogous
#3121A2 #7221A2 #A22191
triadic
#7221A2 #A27221 #21A272
tetradic
#7221A2 #A23121 #51A221 #2191A2
square
#7221A2 #A23121 #51A221 #2191A2
split-complementary
#7221A2 #91A221 #21A231
monochromatic
#2A0C3C #4E176F #7221A2 #962CD4 #AF5FDE

Accessibility & contrast

On white

8.55
#7221A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7221A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221A2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221A2#FFFFFF#000000##FFFFFF
##7221A21.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#6A4262
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7221a2;
/* rgb */ color: rgb(114, 33, 162);
/* oklch */ color: oklch(44.3% 0.194 308.8);
Tailwind
colors: {
  custom: {
    50: '#a067be',
    500: '#7221a2',
    950: '#000000',
  },
}
SCSS
$custom: #7221a2;
$custom-light: #a067be;
$custom-dark: #000000;
JSON
{
  "hex": "#7221a2",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 277.674,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44253,
    "c": 0.19424,
    "h": 308.8
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#7221A2
secondary
#82C35C
accent
#E93F7E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7221A2

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

Preview Lab → · Contrast checker → · Palette generator →

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