#7221AC#7221AC

#7221AC is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.204 H 305.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7221AC
RGBrgb(114, 33, 172)
HSLhsl(275, 68%, 40%)
HSVhsv(275, 81%, 67%)
CMYKcmyk(33.7%, 80.8%, 0%, 32.5%)
CIE-LABlab(33.23, 57.57, -58.01)
CIE-LCHlch(33.23, 81.73, 314.78°)
OKLaboklab(45.07% 0.1191 -0.1653)
OKLCHoklch(45.07% 0.204 305.8)
XYZxyz(14.9280, 7.6438, 39.7107)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7221AC #5BAC21
analogous
#2C21AC #7221AC #AC21A0
triadic
#7221AC #AC7221 #21AC72
tetradic
#7221AC #AC2C21 #5BAC21 #21A0AC
square
#7221AC #AC2C21 #5BAC21 #21A0AC
split-complementary
#7221AC #A0AC21 #21AC2C
monochromatic
#2E0D45 #501779 #7221AC #9332D8 #AE66E2

Accessibility & contrast

On white

8.30
#7221AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7221AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7221AC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7221AC#FFFFFF#000000##FFFFFF
##7221AC1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#674667
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7221ac;
/* rgb */ color: rgb(114, 33, 172);
/* oklch */ color: oklch(45.1% 0.204 305.8);
Tailwind
colors: {
  custom: {
    50: '#a067c6',
    500: '#7221ac',
    950: '#000000',
  },
}
SCSS
$custom: #7221ac;
$custom-light: #a067c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7221ac",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 274.964,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.20369,
    "h": 305.8
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#7221AC
secondary
#8CC762
accent
#EB3D86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7221AC

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

Preview Lab → · Contrast checker → · Palette generator →

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